Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 327 Bytes

encrypt.md

File metadata and controls

17 lines (12 loc) · 327 Bytes

encrypt(text)

text - Characters to encrypt

const crypt = require('functility').crypt;

crypt.encrypt('toasterOven@!#_');

# Returns something similar:
# {
#   iv: 'c1e60cee7a3ad7901930112aedc4d077',
#   encryptedData: 'd80871bdf6e34a965e2f842a569f765a',
# }