Rust Decrypt from Python cryptography
Rust Decrypt from Python cryptography Question: I used cryptography to encrypt image file in Python. The code is here: import hashlib import base64 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import padding import time key = "secretkey" keyBytes = hashlib.sha256(key.encode()).digest() ivBytes = b"xdaxe4x87xa7ix8arbOCxbd x02xbc*[" file_name = "1024.jpg" with open(file_name, "rb") …