Skip to content

r4shsec/EncryptedJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages