decrypt64 method

String decrypt64(
  1. String encoded, {
  2. IV? iv,
  3. Uint8List? associatedData,
})

Sugar for decrypt(Encrypted.fromBase64(encoded)).

Implementation

String decrypt64(String encoded, {IV? iv, Uint8List? associatedData}) {
  return decrypt(
    Encrypted.fromBase64(encoded),
    iv: iv,
    associatedData: associatedData,
  );
}