Created
November 7, 2017 10:23
-
-
Save perry-mitchell/5cc8a81c12cfe1b28060c65cd9da62d3 to your computer and use it in GitHub Desktop.
Import key with SubtleCrypto
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
subtleCrypto.importKey( | |
"raw", | |
stringToArrayBuffer(password), | |
{ name: "PBKDF2" }, | |
false, // not extractable | |
["deriveBits"] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment