# Path: ss/crypto/openssl.py
# def load_openssl():
# def load_cipher(cipher_name):
#     def __init__(self, cipher_name, key, iv, op):
#     def update(self, data):
#     def __del__(self):
#     def clean(self):
# def run_method(method):
# def test_aes_128_cfb():
# def test_aes_256_cfb():
# def test_aes_128_cfb8():
# def test_aes_256_ofb():
# def test_aes_256_ctr():
# def test_bf_cfb():
# def test_rc4():
# class OpenSSLCrypto(object):


import hashlib
from ss.crypto import openssl
    from ss.crypto import util
#!/usr/bin/env python
#
# Copyright 2015 clowwindy
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import, division, print_function, \
    with_statement



__all__ = ['ciphers']


def create_cipher(alg, key, iv, op, key_as_bytes=0, d=None, salt=None,
                  i=1, padding=1):
    md5 = hashlib.md5()

# Path: ss/crypto/openssl.py
# def load_openssl():
# def load_cipher(cipher_name):
#     def __init__(self, cipher_name, key, iv, op):
#     def update(self, data):
#     def __del__(self):
#     def clean(self):
# def run_method(method):
# def test_aes_128_cfb():
# def test_aes_256_cfb():
# def test_aes_128_cfb8():
# def test_aes_256_ofb():
# def test_aes_256_ctr():
# def test_bf_cfb():
# def test_rc4():
# class OpenSSLCrypto(object):


# Path: ss/crypto/rc4_md5.py
import hashlib
from ss.crypto import openssl
    from ss.crypto import util

#!/usr/bin/env python
#
# Copyright 2015 clowwindy
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import, division, print_function, \
    with_statement



__all__ = ['ciphers']


def create_cipher(alg, key, iv, op, key_as_bytes=0, d=None, salt=None,
                  i=1, padding=1):
    md5 = hashlib.md5()

    md5.update(key)