package
Version:
v0.0.0-...-3e40f46
Opens a new window with list of versions in this module.
Published: Jan 3, 2017
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
decrypt decrypts the passed in data. The data is expected to be in the format {{nonce}}{{null}}{{null}}{{ciphertext}}
encrypt encrypts the data using aes. Note that the key must be 16 or 32 bytes.
the output is in this format {{nonce}}{{null}}{{null}}{{ciphertext}}
generateKey uses a key derivation function to create an key for use in aes encryption.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.