ripemd320<T extends Object?> static method
Runs use with a fresh RIPEMD-320 hash, then wipes it.
The instance must be clean after you don't need it; this method
guarantees that, even if use throws.
Implementation
static T ripemd320<T extends Object?>(
T Function(BuSerializableHash cipher) use,
) {
final cipher = ripemd320Instance();
try {
return use(cipher);
} finally {
cipher.clean();
}
}