IV class
Represents an Initialization Vector.
Constructors
- IV(Uint8List bytes)
- Creates an Initialization Vector object from a Uint8List.
- IV.allZerosOfLength(int length)
- Creates an Initialization Vector object of ALL ZEROS from a length. The key is ALL ZEROS - NOT CRYPTOGRAPHICALLY SECURE!
- IV.fromBase16(String encoded)
- Creates an Initialization Vector object from a hexdecimal string.
- IV.fromBase64(String encoded)
- Creates an Initialization Vector object from a Base64 string.
- IV.fromLength(int length)
-
Creates an Initialization Vector object from a length.
The key is filled with
length
bytes generated by a Random.secure() generator - IV.fromSecureRandom(int length)
-
Creates an Initialization Vector object from a length.
The key is filled with
length
bytes generated by a Random.secure() generator - IV.fromUtf8(String input)
- Creates an Initialization Vector object from a UTF-8 string.
Properties
- base16 → String
-
Gets the Encrypted bytes as a Hexdecimal representation.
no setterinherited
- base64 → String
-
Gets the Encrypted bytes as a Base64 representation.
no setterinherited
- bytes → Uint8List
-
Gets the Encrypted bytes.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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