DES_SMCipher class
- Implemented types
Constructors
- DES_SMCipher(Uint8List encKey, Uint8List macKey)
Properties
- cipherAlgorithm → CipherAlgorithm
-
Returns cipher algorithm.
no setteroverride
- encKey ↔ Uint8List
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- macKey ↔ Uint8List
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ CipherAlgorithm
-
getter/setter pairoverride
Methods
-
decrypt(
Uint8List edata, {SSC? ssc}) → Uint8List -
Decrypts
edatafrom Secure Messaging.edatamust be unpadded after calling this function.sscis used as IV for encryption.override -
encrypt(
Uint8List data, {SSC? ssc}) → Uint8List -
Encrypts
datato be used in Secure Messaging.datamust be padded (if needed) before calling this function.sscis used as IV for encryption.override -
mac(
Uint8List data, {SSC? ssc}) → Uint8List -
Calculates MAC of
data.datamust be padded (if needed) before calling this function.override -
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