EncryptionUtil constructor

EncryptionUtil(
  1. String base64Key,
  2. String base64Iv
)

Creates an EncryptionUtil with the provided base64 encoded key and IV.

Implementation

EncryptionUtil(String base64Key, String base64Iv)
    : key = Key.fromBase64(base64Key),
      iv = IV.fromBase64(base64Iv);