Skip to content

Commit a54a1b1

Browse files
committed
changed requirements.txt
Signed-off-by: grpathak22 <[email protected]>
2 parents 51871d4 + 05a31fb commit a54a1b1

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

Diff for: ciphers/aes_128.py

+7-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
import base64
2-
from Crypto.Cipher import AES
2+
from Crypto.Cipher import AES
33
from Crypto.Util.Padding import pad, unpad
44

55

6-
7-
'''
8-
AES (Advanced Encryption Standard) is a symmetric encryption algorithm used
9-
for secure data encryption. AES-128 uses a 128-bit key to encrypt and decrypt
10-
data blocks of 128 bits. This implementation uses Cipher Block Chaining (CBC) mode
6+
"""
7+
AES (Advanced Encryption Standard) is a symmetric encryption algorithm used
8+
for secure data encryption. AES-128 uses a 128-bit key to encrypt and decrypt
9+
data blocks of 128 bits. This implementation uses Cipher Block Chaining (CBC) mode
1110
with PKCS7 padding for encrypting messages.
1211
13-
For more details, visit:
12+
For more details, visit:
1413
https://en.wikipedia.org/wiki/Advanced_Encryption_Standard
15-
'''
16-
14+
"""
1715

1816

1917
def aes_encrypt(plaintext: str, key: str) -> str:

0 commit comments

Comments
 (0)