BlockCipher class abstract

A raw block cipher: encrypts/decrypts exactly one fixed-size block at a time, with no mode of operation applied.

Implementers

Constructors

BlockCipher()

Properties

blockSize → int
Size of the data block in bytes that the cipher operates on.
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

Methods

clean() → BlockCipher
Zeroes any key material or state held by this instance.
decryptBlock(List<int> src, [List<int>? dst]) → BuBytes
Decrypts a single block of data.
encryptBlock(List<int> src, [List<int>? dst]) → BuBytes
Encrypts a single block of data.
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