🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

Xssec

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Xssec

一个可以加密文本的库

0.1.5
Maintainers
1

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)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts