Skip to content

Encrypts and decrypts text with your ssh generated public/private key's

Notifications You must be signed in to change notification settings

Roderick-Jonsson/crypto-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation


Encrypts and decrypts text with your ssh generated public private key's

Project state: Fun mode

PrerequisitesEncrypt a messageDecrypt a messageContribute

Prerequisites

To work, this script will need following python libraries

  • cement
    • Advanced CLI Application Framework for Python
  • cryptography
    • Provides cryptographic recipes and primitives to Python developers

Install prerequisites

pip install cement
pip install cryptography

Encrypt a message

This will encrypt the string "This is top ssecret information nobody should be able to read" to a file secretmessage.txt by using the the public key "public-key"

python3.6 crypto-message.py -i /path/to/public-key /path/to/secretmessage.txt This is top secret information nobody should be able to read

Decrypt a message

This will decrypt the file secretmessage.txt by using the private key "private-key"

python3.6 crypto-message.py -d /path/to/private-key /path/to/secretmessage.txt 

Contribute

Heck yeah! :)

  1. Post a small actionable idea into the issues with title text "[idea]" and give a status update there
  2. Have fun

About

Encrypts and decrypts text with your ssh generated public/private key's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages