We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2064367 + 047c756 commit 4ba46dcCopy full SHA for 4ba46dc
cryptography/lib/src/cryptography/cipher_wand.dart
@@ -109,9 +109,11 @@ abstract class CipherWand extends Wand {
109
try {
110
return utf8.decode(clearText);
111
} finally {
112
- // Cut the amount of possibly sensitive data in the heap.
113
- // This should be a cheap operation relative to decryption.
114
- clearText.fillRange(0, clearText.length, 0);
+ try {
+ // Cut the amount of possibly sensitive data in the heap.
+ // This should be a cheap operation relative to decryption.
115
+ clearText.fillRange(0, clearText.length, 0);
116
+ } catch (_) {}
117
}
118
119
0 commit comments