一个可以加密文本的库
Project description
Xssec
Xssec是一个Python文本加密库,由诗软科技制作
安装
pip install xssec
使用方法
from xssec import lock, unlock
# 设置密码
psw = 123
# 对文本进行加密
text = "你好,世界!"
lock_txt = lock(text, psw)
print("加密后的文本:", lock_txt)
# 将加密文本解密
unlock_txt = unlock(lock_txt, psw)
print("解密后的文本:", unlock_txt)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Xssec-0.1.5.tar.gz
(1.9 kB
view details)
File details
Details for the file Xssec-0.1.5.tar.gz.
File metadata
- Download URL: Xssec-0.1.5.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
786f0a7f3c47f599192537b9fc86a9f38f5571ea9f068e03169871b2ea9f3489
|
|
| MD5 |
09e6b2272a9ed16f357f92981edb155f
|
|
| BLAKE2b-256 |
c08c2b1214121d446dd968c174af3f203d3ffa4a36d21d1696d78ed0596b1560
|