lck.common 0.4.5 documentation

This Page

lck.crypto

lck.crypto

High-level cryptographic routines.

Factory functions

These are convenience routines that create Cipher instances with the correct algorithm implementation plugged in.

aes([key, path, create]) → Cipher instance

Factory creating a cipher using the AES algorithm. Arguments have the same meaning as in the raw Cipher class.

blowfish([key, path, create]) → Cipher instance

Factory creating a cipher using the Blowfish algorithm. Arguments have the same meaning as in the raw Cipher class.

cast([key, path, create]) → Cipher instance

Factory creating a cipher using the CAST algorithm. Arguments have the same meaning as in the raw Cipher class.

des([key, path, create]) → Cipher instance

Factory creating a cipher using the DES algorithm. Arguments have the same meaning as in the raw Cipher class.

des3([key, path, create]) → Cipher instance

Factory creating a cipher using the DES3 algorithm. Arguments have the same meaning as in the raw Cipher class.

Classes