Skip to content

Save your account and password information locally, and read it through code when needed, avoiding plaintext usage to protect account security.

License

Notifications You must be signed in to change notification settings

farfarfun/funsecret

Repository files navigation

funsecret

安装

pip install funsecret

写入或者更新

from funsecret import read_secret, write_secret

write_secret("your username", "wechat", "login", "username")
read_secret("wechat", "login", "username", value="your username")

读取

from funsecret import read_secret

username = read_secret("wechat", "login", "username")
password = read_secret("wechat", "login", "password")

快照

快照功能需要单独安装

pip install funsecret_snapshot

目前只支持保存 lanzou

保存

from funsecret_snapshot import save_snapshot

bin_id = '**'
cipher_key = '******'
security_key = "******"
save_snapshot(bin_id, cipher_key, security_key)

读取

from funsecret_snapshot import load_snapshot

bin_id = '**'
cipher_key = '******'
security_key = "******"
load_snapshot(bin_id, cipher_key, security_key)

About

Save your account and password information locally, and read it through code when needed, avoiding plaintext usage to protect account security.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages