Skip to main content

一个可以加密文本的库

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page