Class

IdentityCipher

Extends:

A cipher that does nothing but pass the data through, unchanged. This keeps things in the code nice and clean when a cipher has not yet been determined (i.e., during key exchange).

Public Methods
block_size A default block size of 8 is required by the SSH2 protocol.
decrypt Does nothing. Returns self.
encrypt Does nothing. Returns self.
final Returns the empty string.
name The name of this cipher, which is "identity".
update Passes its single argument through unchanged.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.