encrypt method

Future<ByteBuffer> encrypt(
  1. Algorithm algorithm,
  2. CryptoKey key,
  3. dynamic data
)

Implementation

Future<ByteBuffer> encrypt(
  Algorithm algorithm,
  CryptoKey key,
  dynamic data,
) {
  return _delegate.encrypt(algorithm._delegate, key._delegate, data);
  // TODO - how to handle return type?
}