Class: Net::SSH::Transport::IdentityCipher

Class | Net::SSH::Transport::IdentityCipher
In: | lib/net/ssh/transport/identity-cipher.rb
Parent: | Object

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).

### Methods

block_size decrypt encrypt final name update

### Public Instance 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( text )

Passes its single argument through unchanged.

[Validate]