cryptoAuthKeygen static method

Uint8List cryptoAuthKeygen()

Implementation

static Uint8List cryptoAuthKeygen() {
  final _k = calloc<Uint8>(cryptoAuthKeybytes);
  try {
    _cryptoAuth.crypto_auth_keygen(_k);
    return _k.toList(cryptoAuthKeybytes);
  } finally {
    calloc.free(_k);
  }
}