cryptoOnetimeauthKeygen static method

Uint8List cryptoOnetimeauthKeygen()

Implementation

static Uint8List cryptoOnetimeauthKeygen() {
  final _k = calloc<Uint8>(cryptoOnetimeauthKeybytes);
  try {
    _cryptoOnetimeauth.crypto_onetimeauth_keygen(_k);
    return _k.toList(cryptoOnetimeauthKeybytes);
  } finally {
    calloc.free(_k);
  }
}