Created
December 13, 2017 17:45
-
-
Save tarcisio-marinho/29e06ab72bfc3138c491b0cec912b662 to your computer and use it in GitHub Desktop.
magic happens
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iv = generate_key(16); | |
key = generate_key(32); | |
/* Where encryption really happens*/ | |
encrypt(old, new, key, iv); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment