cryptoGenerichashKeygen static method

Uint8List cryptoGenerichashKeygen()

Implementation

static Uint8List cryptoGenerichashKeygen() {
  final _k = calloc<Uint8>(cryptoGenerichashKeybytes);
  try {
    _cryptoGenerichash.crypto_generichash_keygen(_k);
    return _k.toList(cryptoGenerichashKeybytes);
  } finally {
    calloc.free(_k);
  }
}