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 iv= iv_len name reset update

### Public Class 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.

iv=(v)

Does nothing. Returns nil.

iv_len()

Returns an arbitrary integer.

name()

The name of this cipher, which is "identity".

reset()

Does nothing. Returns self.

update(text)

Passes its single argument through unchanged.

[Validate]