Crypto Helper
Functions
Link copied to clipboard
Generate an array of random bytes given the input length
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun symmetricEncryptWithHMACIV(input: Array<Byte>, key: Array<Byte>, hmacSecret: Array<Byte>): Array<Byte>
Performs an encryption using AES/CBC/PKCS7 with an input byte array and key, with a IV (comprised of random bytes and the HMAC-SHA1 of the random bytes and plaintext) prepended using AES/ECB/None
Link copied to clipboard