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
my_diary.access()

Project details


Download files

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

Source Distribution

json_secret_diary-1.0.4.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

json_secret_diary-1.0.4.2-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page