Module ImportFrom alias ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad NameLoad NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Num body Raise Call NameLoad Str Return SubscriptLoad AttributeLoad NameLoad attr Slice Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num body Raise Call NameLoad Str Return SubscriptLoad AttributeLoad NameLoad attr Slice Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A pyelliptic.openssl OpenSSL Cipher N/A N/A N/A 
    Symmetric encryption

        import pyelliptic
        iv = pyelliptic.Cipher.gen_IV('aes-256-cfb')
        ctx = pyelliptic.Cipher("secretkey", iv, 1, ciphername='aes-256-cfb')
        ciphertext = ctx.update('test1')
        ciphertext += ctx.update('test2')
        ciphertext += ctx.final()

        ctx2 = pyelliptic.Cipher("secretkey", iv, 0, ciphername='aes-256-cfb')
        print ctx2.ciphering(ciphertext)
     __init__ N/A N/A self key iv do ciphername N/A aes-256-cbc N/A N/A 
        do == 1 => Encrypt; do == 0 => Decrypt
         N/A N/A self cipher N/A N/A OpenSSL get_cipher ciphername N/A N/A self ctx N/A N/A OpenSSL EVP_CIPHER_CTX_new N/A N/A N/A do 1 N/A do 0 N/A N/A k N/A N/A OpenSSL malloc key N/A len key N/A IV N/A N/A OpenSSL malloc iv N/A len iv N/A N/A N/A OpenSSL EVP_CipherInit_ex N/A self ctx N/A N/A N/A self cipher get_pointer 0 k IV do N/A N/A N/A Exception RTFM ... N/A get_all_cipher N/A N/A N/A N/A N/A 
        static method, returns all ciphers available
         N/A N/A N/A N/A OpenSSL cipher_algo keys N/A staticmethod get_blocksize N/A N/A ciphername N/A N/A N/A cipher N/A N/A OpenSSL get_cipher ciphername N/A N/A N/A cipher get_blocksize N/A staticmethod gen_IV N/A N/A ciphername N/A N/A N/A cipher N/A N/A OpenSSL get_cipher ciphername N/A N/A N/A OpenSSL rand N/A N/A cipher get_blocksize N/A staticmethod update N/A N/A self input N/A N/A N/A i N/A N/A OpenSSL c_int 0 N/A buffer N/A N/A OpenSSL malloc N/A N/A len input N/A N/A N/A self cipher get_blocksize N/A inp N/A N/A OpenSSL malloc input N/A len input N/A N/A N/A N/A OpenSSL EVP_CipherUpdate N/A self ctx N/A N/A OpenSSL byref buffer N/A N/A OpenSSL byref i inp N/A len input 0 N/A N/A N/A Exception [OpenSSL] EVP_CipherUpdate FAIL ... N/A N/A N/A buffer raw N/A 0 N/A i value N/A final N/A N/A self N/A N/A N/A i N/A N/A OpenSSL c_int 0 N/A buffer N/A N/A OpenSSL malloc N/A N/A N/A self cipher get_blocksize N/A N/A N/A N/A OpenSSL EVP_CipherFinal_ex N/A self ctx N/A N/A OpenSSL byref buffer N/A N/A OpenSSL byref i 0 N/A N/A N/A Exception [OpenSSL] EVP_CipherFinal_ex FAIL ... N/A N/A N/A buffer raw N/A 0 N/A i value N/A ciphering N/A N/A self input N/A N/A N/A 
        Do update and final in one method
         N/A buff N/A N/A self update input N/A N/A buff N/A N/A self final N/A __del__ N/A N/A self N/A N/A N/A N/A N/A OpenSSL EVP_CIPHER_CTX_cleanup N/A self ctx N/A N/A N/A OpenSSL EVP_CIPHER_CTX_free N/A self ctx N/A N/A