Skip to main content

Simple secret diary based on JSON and AES encryption

Project description

Secret Diary

My own project to manage my daily diary, works with only Python 3

How it works

The entire diary is based only on JSON text, everything is done with JSON. Diary has 'public' infos and 'secret' infos, the secret part is encrypted with AES algorithm.

The public part is called 'summary', this will be usefull to help you to know what that page of diary talk about or specific infos.

No connection to internet required, new diary will be created if username is not recognized (obviously with a prompt to allow or deny).

Once you wrote you can't edit text (both public and private) but you can write without limits.

Password of your diary is stored in the same JSON file, the name is yout username setted at first start.

How to install

This code can be installed with pip, if you have pip installed execute the pip command to install new package pip install json_secret_diary

Example of usage

You have 2 ways to use my package from command-line, simply write json_secret_diary and creation start!

You can also use with your python project, here an example:

import json_secret_diary

my_username = 'example'
my_password = 'example_pw'

# Create Diary object
my_diary = json_secret_diary.Diary(my_username, my_password)

# Access to diary, if exist
# if not exist create new one if authorized

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for json-secret-diary, version
Filename, size File type Python version Upload date Hashes
Filename, size json_secret_diary- (5.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size json_secret_diary- (4.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page