processCrypto function

Uint8List processCrypto(
  1. Uint8List secret,
  2. Uint8List iv,
  3. Uint8List data
)

Implementation

Uint8List processCrypto(Uint8List secret, Uint8List iv, Uint8List data) {
  Salsa20Engine _cipher = Salsa20Engine();
  _cipher.reset();
  _cipher.init(false, _buildParams(secret, Uint8List, iv));
  return _cipher.process(data);
}