SymmetricKey class

A symmetric key

Inheritance
Mixed in types

Constructors

SymmetricKey({Uint8List keyValue})
factory
SymmetricKey.generate(int bitLength)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
keyValue Uint8List
The value of the symmetric (or other single-valued) key
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createEncrypter(Identifier algorithm) Encrypter<Key>
Creates an Encrypter using this key and the specified algorithm
inherited
createSigner(Identifier algorithm) Signer<PrivateKey>
Creates a Signer using this key and the specified algorithm.
inherited
createVerifier(Identifier algorithm) Verifier<PublicKey>
Creates a signature Verifier using this key and the specified algorithm
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited