Pyrtls обеспечивает привязку к rustls, современной реализации TLS на языке Rust, с удобным API, который призван заменить модуль ssl (но не полностью совместим с ним).
#python #rust #tls #security #pyrtls #rustls #opensource #cryptography #dev
https://github.com/djc/pyrtls
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - djc/pyrtls: rustls-based modern TLS for Python
rustls-based modern TLS for Python. Contribute to djc/pyrtls development by creating an account on GitHub.
1 6👍4
Пакет cryptography предоставляет криптографические рецепты и примитивы для разработчиков на Python.
from cryptography.fernet import Fernet
# Сохраните этот ключ в безопасном месте!
key = Fernet.generate_key()
f = Fernet(key)
token = f.encrypt(b"Hello!")
print(token)
print(f.decrypt(token))
#Python #Cryptography #Security #PythonDev #Encryption
https://github.com/pyca/cryptography
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - pyca/cryptography: cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. - pyca/cryptography
1 4⚡2👍2