Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner


Encrypted JSON is an easy way for you to encrypt or decrypt your JSON files.

Install

pip install encryptjson

Encrypt

import encrypted_json

KEY = "YOURSECRETKEY"

x = encrypted_json.encrypt('tests/data.json', KEY) 

"""
Write to file.
"""

with open('tests/data.json.enc', 'wb') as f:
    f.write(x)

Decrypt

import encrypted_json

KEY = "YOURSECRETKEY"

x = encrypted_json.decrypt('tests/data.json.enc', KEY)
print(x)

About

EncryptedJSON is an easy way for you to encrypt or decrypt your files.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages