Update README.md

This commit is contained in:
Šebestíček 2022-03-20 17:32:49 +01:00 committed by GitHub
parent 6e6ff8b04d
commit c40b2034d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,10 +27,10 @@ To **decrypt** text, use function `decrypt()` from file `./index.js`.
//SECOND VARIANT
var yourText = encryptText("Put here text, you want encrypt..."); //See? You don't have to use Your key. Program will automatically generate one for you.
```
**WARNING!** The key from encryption will be printed out along the text value as an object
_Note: exit codes
`-2` - invalid key
`0` - operation completed successfully
**WARNING!** The key from encryption will be printed out along the text value as an object \
_Note: exit codes \
`-2` - invalid key \
`0` - operation completed successfully \
`-1` - operation failed, description available using error property_
- Decryption: