SecretKeyData.randomWithBuffer constructor
SecretKeyData.randomWithBuffer(})
Implementation
factory SecretKeyData.randomWithBuffer(
Uint8List bytes, {
Random? random,
bool overwriteWhenDestroyed = true,
String? debugLabel,
}) {
fillBytesWithSecureRandom(bytes, random: random);
return SecretKeyData._(
bytes,
overwriteWhenDestroyed: overwriteWhenDestroyed,
debugLabel: debugLabel,
);
}