cyber security

Cryptotool — Cryptography CLI

A command-line tool for everyday cryptography: generate Fernet & RSA keys, encrypt/decrypt files, compute SHA-256 hashes, and create RSA digital signatures.

About the project

Cryptotool is a Python command-line interface that makes everyday cryptographic operations easy, without having to write your own code.

With a single command, users can create a Fernet symmetric key or an RSA key pair, encrypt and decrypt files, compute SHA-256 hashes to verify data integrity, and create and verify digital signatures.

Besides being practical, the project is also useful for learning the fundamentals of applied cryptography.

The live demo on this site runs every command right in the browser with the Web Crypto API. It produces the same file formats as the CLI, so keys, encrypted files, and signatures can be used back and forth between the web and Python versions.

Key features

  • gen-sym and gen-rsa to create Fernet keys and RSA key pairs
  • enc / dec to encrypt and decrypt files with a symmetric key
  • hash to compute the SHA-256 of a file
  • sign / verify for RSA digital signatures
  • An in-browser live demo (Web Crypto API) whose key files, tokens, and signatures are compatible with the CLI

Releases

There is no official release for this project yet. The latest code is always available in the GitHub repository.

More projects

Cyber Security● live demo

Steganalysis Web App

A web app that detects LSB steganography in digital images. It compares the Chi-Square Attack and RS Analysis on every color channel and shows the results in interactive charts.

  • Python
  • Flask
  • JavaScript
  • Chart.js