CryptoEngine class abstract
Factory for cryptographic algorithm instances.
Subclass to provide alternative implementations (e.g. native FFI).
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createAes256(
{required Uint8List key}) → Aes256 -
Creates an
Aes256cipher from a 32-bytekey. -
createArgon2(
{Argon2Type type, Argon2Version version, required int parallelism, required int memorySizeKB, required int iterations, required List< int> salt}) → Argon2 - Creates an Argon2 instance for native or Dart-backed hashing.
-
createChaCha20(
{required Uint8List key}) → ChaCha20 -
Creates a
ChaCha20cipher from a 32-bytekey. -
createSalsa20(
{required Uint8List key}) → Salsa20 -
Creates a
Salsa20cipher from a 32-bytekey. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited