CipherStream class final
Incremental encryption/decryption state (an EVP_CIPHER_CTX).
Not thread-safe; use from one isolate. Always call finish (or dispose) to release native memory; a NativeFinalizer frees leaked contexts.
- Implemented types
Properties
Methods
-
dispose(
) → void - Releases the native context without producing final output.
-
finish(
) → Uint8List - Flushes any buffered block (none for CTR) and releases the context.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
List< int> input) → Uint8List -
Processes
input, returning the bytes produced so far (for CTR, as many as were given).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited