feat: Improve code quality of the cryptography

This commit is contained in:
PapaTutuWawa committed 2023-07-21 17:30:59 +02:00
1 parent eab467ee1d
commit 563b0386d6
6 files changed
+212 -239

No files matched your search

@@ -28,8 +28,8 @@ class AndroidCryptographyImplementation extends CryptographyImplementation {
// ignore: argument_type_not_assignable
final result = Map<String, dynamic>.from(resultRaw);
return CryptographyResult(
result['plaintext_hash']! as Uint8List,
result['ciphertext_hash']! as Uint8List,
result['plaintextHash']! as Uint8List,
result['ciphertextHash']! as Uint8List,
);
}
@@ -56,8 +56,8 @@ class AndroidCryptographyImplementation extends CryptographyImplementation {
// ignore: argument_type_not_assignable
final result = Map<String, dynamic>.from(resultRaw);
return CryptographyResult(
result['plaintext_hash']! as Uint8List,
result['ciphertext_hash']! as Uint8List,
result['plaintextHash']! as Uint8List,
result['ciphertextHash']! as Uint8List,
);
}