一个可以加密文本的库
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 hashes)