RC2Engine class
Methods
decryptBlock (Uint8List input , int inOff , Uint8List out , int outOff )
→ void
encryptBlock (Uint8List input , int inOff , Uint8List out , int outOff )
→ void
generateWorkingKey (Uint8List key , int bits )
→ List <int >
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 blockSize bytes stored in data at once, returning the result in a
byte array.
processBlock (Uint8List input , int inputOff , Uint8List out , int outOff )
→ int
Process a whole block of data given by inp and starting at offset
inpOff.
override
reset ()
→ void
Reset the cipher to its original state.
override
rotateWordLeft (int x , int y )
→ int
toString ()
→ String
A string representation of this object.
inherited