MAC class

Data integrity is protected by including with each packet a MAC that is computed from a shared secret, packet sequence number, and the contents of the packet.

Constructors

MAC()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

supported SupportedFunction
read / write

Static Methods

hashSize(int id) int
id(String name) int
mac(int id) HMac
name(int id) String
preferenceCsv([int startAfter = 0]) String
preferenceIntersect(String intersectCsv, [bool server = false, int startAfter = 0]) int
prefixBytes(int id) int

Constants

End → const int
8
MD5 → const int
1
MD5_96 → const int
4
SHA1 → const int
2
SHA1_96 → const int
3
SHA256 → const int
5
SHA256_96 → const int
6
SHA512 → const int
7
SHA512_96 → const int
8