AsymmetricBlockCipher class abstract

Asymmetric block cipher engines are expected to conform to this interface.

Inheritance
Implementers

Constructors

AsymmetricBlockCipher(String algorithmName)
Create the cipher specified by the standard algorithmName.
factory

Properties

algorithmName String
Get this algorithm's standard name.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inputBlockSize int
Get this ciphers's maximum input block size.
no setter
outputBlockSize int
Get this ciphers's maximum output block size.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init(bool forEncryption, CipherParameters params) → void
Init the cipher with its initialization params. The type of CipherParameters depends on the algorithm being used (see the documentation of each implementation to find out more).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(Uint8List data) Uint8List
Process a whole block of data at once, returning the result in a byte array.
processBlock(Uint8List inp, int inpOff, int len, Uint8List out, int outOff) int
Process a block of len bytes given by inp and starting at offset inpOff and put the resulting cipher text in out beginning at position outOff.
reset() → void
Reset the cipher to its original state.
toString() String
A string representation of this object.
inherited

Operators

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