SMCipher class abstract

Implementers

Constructors

SMCipher()

Properties

cipherAlgorithm → CipherAlgorithm
Returns cipher algorithm.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ CipherAlgorithm
getter/setter pair

Methods

decrypt(Uint8List edata, {SSC? ssc}) → Uint8List
Decrypts edata from Secure Messaging. edata must be unpadded after calling this function. ssc is used as IV for encryption.
encrypt(Uint8List data, {SSC? ssc}) → Uint8List
Encrypts data to be used in Secure Messaging. data must be padded (if needed) before calling this function. ssc is used as IV for encryption.
mac(Uint8List data) → Uint8List
Calculates MAC of data. data must be padded (if needed) before calling this function.
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