Created
December 30, 2019 16:34
-
-
Save NicolaiSoeborg/098c099084590d9ad71808ed969f2a12 to your computer and use it in GitHub Desktop.
This file contains 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
pbKey32 = AesKdf( | |
data: sha256("123456:133337:987654"), | |
seed: TransformationKey, // 32 CryptoRandom bytes | |
rounds: 10.000 | |
) | |
pbSecret = OtpUtil.DecryptData( | |
encryptedSecret, | |
pbKey32, | |
FromBase64String(m_otpInfo.EncryptionIV) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment