Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cryptography/lib/src/cryptography/cipher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,12 @@ abstract class Cipher {
Future<String> decryptString(
SecretBox secretBox, {
required SecretKey secretKey,
List<int> aad = const [],
Comment thread
BirjuVachhani marked this conversation as resolved.
Outdated
}) async {
final clearText = await decrypt(
secretBox,
secretKey: secretKey,
aad: aad,
);
try {
return utf8.decode(clearText);
Expand Down
Loading