Created
January 22, 2019 02:57
-
-
Save GzuPark/9972fbda4a7546d6ad12f6119cad5dad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cipher.crypto import Cipher | |
data = 'Something you want to decrypt' | |
dec = Cipher(key, iv) | |
result = dec.decryption(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cipher.crypto import Cipher | |
data = 'Something you want to encrypt' | |
enc = Cipher(key, iv) | |
result = enc.encryption(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key = 'password1234~!@#$something' | |
iv = '1234567890123456' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment