blake2bWithKey method

dynamic blake2bWithKey(
  1. Uint8List key
)

Implementation

blake2bWithKey(final Uint8List key) {
  assert(key.length <= 64);
  this._buffer = Uint8List(Const.blockLengthBytes);
    this._key!.addAll(key);
    this._keyLength = key.length;

    this._buffer.addAll(key);
    this._bufferPos = Const.blockLengthBytes; // zero padding
  _digestSize = 64;
  init();
}