Update README.md
This commit is contained in:
parent
6e6ff8b04d
commit
c40b2034d6
@ -27,10 +27,10 @@ To **decrypt** text, use function `decrypt()` from file `./index.js`.
|
|||||||
//SECOND VARIANT
|
//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.
|
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
|
**WARNING!** The key from encryption will be printed out along the text value as an object \
|
||||||
_Note: exit codes
|
_Note: exit codes \
|
||||||
`-2` - invalid key
|
`-2` - invalid key \
|
||||||
`0` - operation completed successfully
|
`0` - operation completed successfully \
|
||||||
`-1` - operation failed, description available using error property_
|
`-1` - operation failed, description available using error property_
|
||||||
|
|
||||||
- Decryption:
|
- Decryption:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user