AESEncryptionManager

Encryption / Decryption service using the AES algorithm example for nullbeans.com https://nullbeans.com/how-to-encrypt-decrypt-files-byte-arrays-in-java-using-aes-gcm/#Generating_an_AES_key

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun decryptData(sharedPref: SharedPreferences, encryptPassword: String?, encryptedData: ByteArray): ByteArray

This method will decrypt the given data

Link copied to clipboard
fun encryptData(sharedPref: SharedPreferences, encryptPassword: String?, data: ByteArray): ByteArray

This method will encrypt the given data