cryptoShorthashKeygen static method

Uint8List cryptoShorthashKeygen()

Implementation

static Uint8List cryptoShorthashKeygen() {
  final _k = calloc<Uint8>(cryptoShorthashKeybytes);
  try {
    _cryptoShorthash.crypto_shorthash_keygen(_k);
    return _k.toList(cryptoShorthashKeybytes);
  } finally {
    calloc.free(_k);
  }
}