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
Public Instance methods
block_size()

A default block size of 8 is required by the SSH2 protocol.

    # File lib/net/ssh/transport/identity-cipher.rb, line 28
28:         def block_size
29:           8
30:         end
decrypt()

Does nothing. Returns self.

    # File lib/net/ssh/transport/identity-cipher.rb, line 38
38:         def decrypt
39:           self
40:         end
encrypt()

Does nothing. Returns self.

    # File lib/net/ssh/transport/identity-cipher.rb, line 33
33:         def encrypt
34:           self
35:         end
final()

Returns the empty string.

    # File lib/net/ssh/transport/identity-cipher.rb, line 48
48:         def final
49:           ""
50:         end
name()

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

    # File lib/net/ssh/transport/identity-cipher.rb, line 53
53:         def name
54:           "identity"
55:         end
update( text )

Passes its single argument through unchanged.

    # File lib/net/ssh/transport/identity-cipher.rb, line 43
43:         def update( text )
44:           text
45:         end