Finalize Pycrypto removal

readme-wiki
Jim Shaver 2017-10-19 13:56:53 -05:00
parent 47570ee92a
commit f8ada8a81b
2 changed files with 4 additions and 5 deletions

View File

@ -8,12 +8,12 @@ Includes:
depad() - Performs PKCS#7 depadding depad() - Performs PKCS#7 depadding
rsa_xml_to_key() - parses a PowerShell RSA xml import and builds a M2Crypto object rsa_xml_to_key() - parses a PowerShell RSA xml import and builds a M2Crypto object
rsa_encrypt() - encrypts data using the M2Crypto crypto object rsa_encrypt() - encrypts data using the M2Crypto crypto object
aes_encrypt() - encrypts data using a pyCrypto AES object aes_encrypt() - encrypts data using a Cryptography AES object
aes_encrypt_then_hmac() - encrypts and SHA256 HMACs data using a pyCrypto AES object aes_encrypt_then_hmac() - encrypts and SHA256 HMACs data using a Cryptography AES object
aes_decrypt() - decrypts data using a pyCrypto AES object aes_decrypt() - decrypts data using a Cryptography AES object
verify_hmac() - verifies a SHA256 HMAC for a data blob verify_hmac() - verifies a SHA256 HMAC for a data blob
aes_decrypt_and_verify() - AES decrypts data if the HMAC is validated aes_decrypt_and_verify() - AES decrypts data if the HMAC is validated
generate_aes_key() - generates a ranodm AES key using pyCrypto's Random functionality generate_aes_key() - generates a ranodm AES key using the OS' Random functionality
rc4() - encrypt/decrypt a data blob using an RC4 key rc4() - encrypt/decrypt a data blob using an RC4 key
DiffieHellman() - Mark Loiseau's DiffieHellman implementation, see ./data/licenses/ for license info DiffieHellman() - Mark Loiseau's DiffieHellman implementation, see ./data/licenses/ for license info

View File

@ -21,7 +21,6 @@ if lsb_release -d | grep -q "Fedora"; then
dnf install -y make g++ python-devel m2crypto python-m2ext swig python-iptools python3-iptools libxml2-devel default-jdk openssl-devel libssl1.0.0 libssl-dev dnf install -y make g++ python-devel m2crypto python-m2ext swig python-iptools python3-iptools libxml2-devel default-jdk openssl-devel libssl1.0.0 libssl-dev
pip install --upgrade urllib3 pip install --upgrade urllib3
pip install setuptools pip install setuptools
pip install pycrypto
pip install cryptography pip install cryptography
pip install iptools pip install iptools
pip install pydispatcher pip install pydispatcher