cryptoSecretstreamXchacha20poly1305Keygen static method
Implementation
static Uint8List cryptoSecretstreamXchacha20poly1305Keygen() {
final _k = calloc<Uint8>(cryptoSecretstreamXchacha20poly1305Keybytes);
try {
_cryptoSecretStream.crypto_secretstream_xchacha20poly1305_keygen(_k);
return _k.toList(cryptoSecretstreamXchacha20poly1305Keybytes);
} finally {
calloc.free(_k);
}
}