cryptoKdfKeygen static method

Uint8List cryptoKdfKeygen()

Implementation

static Uint8List cryptoKdfKeygen() {
  final _k = calloc<Uint8>(cryptoKdfKeybytes);
  try {
    _cryptoKdf.crypto_kdf_keygen(_k);
    return _k.toList(cryptoKdfKeybytes);
  } finally {
    calloc.free(_k);
  }
}