openssh_key.cipher.none.NoneCipher¶
- class openssh_key.cipher.none.NoneCipher¶
Bases:
openssh_key.cipher.common.CipherNull encryption.
- __init__()¶
Methods
__init__()decrypt(kdf, passphrase, cipher_bytes)Returns the ciphertext bytes as given.
encrypt(kdf, passphrase, plain_bytes)Returns the plaintext bytes as given.
The value 8, the cipher block size OpenSSH uses to pad private bytes under null encryption.
Attributes
BLOCK_SIZEThe block size for this cipher.
- classmethod decrypt(kdf, passphrase, cipher_bytes)¶
Returns the ciphertext bytes as given.
- classmethod encrypt(kdf, passphrase, plain_bytes)¶
Returns the plaintext bytes as given.
- classmethod get_block_size()¶
The value 8, the cipher block size OpenSSH uses to pad private bytes under null encryption.
- Return type