Search

Class CryptoEncryption

Extends java.lang.Object
Provides static methods to encrypt/decrypt data with different ciphers. All ciphers use CBC mode with PKCS5 padding

Attributes

None

Methods

Name Returns
aesDecrypt(String encryptedB64, String secretB64, String ivB64) String
aesEncrypt(String dataB64, String secretB64, String ivB64) String
generateRandomBytes(Number numberOfBytes) String
generateRandomIv() String
tripleDesDecrypt(String encryptedB64, String secretB64, String ivB64) String
tripleDesEncrypt(String dataB64, String secretB64, String ivB64) String

Returned by

None

Referenced in

None