RC4Engine class
Properties
algorithmName
→ String
Get this algorithm's standard name.
no setter override
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
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).
override
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.
processBytes (Uint8List inp , int inpOff , int len , Uint8List out , int outOff )
→ void
Process len
bytes of data given by inp
and starting at offset inpOff
.
The resulting cipher text is put in out
beginning at position outOff
.
override
reset ()
→ void
Reset the cipher to its original state.
override
returnByte (int inp )
→ int
Process one byte of data given by inp
and return its encrypted value.
override
setKey (Uint8List keyBytes )
→ void
toString ()
→ String
A string representation of this object.
inherited
pointycastle_broadcom 3.9.2