secureZero static method
Overwrites the contents of buf
with zeros.
HINT: Call on temporary secrets you control once they are no longer needed.
Implementation
static void secureZero(Uint8List buf) {
for (var i = 0; i < buf.length; i++) {
buf[i] = 0;
}
}