Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Latest commit

 

History

History
83 lines (73 loc) · 1.98 KB

README.md

File metadata and controls

83 lines (73 loc) · 1.98 KB

crystallize

Encryption and signing tool using Kyber and Dilithium

Notes

This is completely pointless. AES (symmetrical encryption) is still quantum resistant. Kyber is meant for transmitting keys across insecure space. However, I am using this to encrypt data in general. The size of files increase exponentially with this method and it is not suitable for data over 1MiB. This should be for extremely sensitive text that you do not want the world to ever see.

Usage

crystallize v0.0.1 - A CLI tool for post quantum cryptography

Available commands:

   generate     Generate a keypair 
   encryption   Encrypt or decrypt data 
   signing      Sign or verify data 

Flags:

  -help
    	Get help on the 'crystallize' command.
crystallize generate - Generate a keypair
Flags:

  -dili
    	Use Dilithium
  -help
    	Get help on the 'crystallize generate' command.
  -kyber
    	Use Kyber
  -privkey string
    	The private key file (default "priv.key")
  -pubkey string
    	The public key file (default "pub.key")
crystallize encryption - Encrypt or decrypt data
Flags:

  -decrypt
    	Decrypt the data
  -encrypt
    	Encrypt the data
  -file string
    	The file to process
  -help
    	Get help on the 'crystallize encryption' command.
  -output string
    	The output file
  -privkey string
    	The private key to use (default "priv.key")
  -pubkey string
    	The public to use (default "pub.key")
  -text string
    	The text to process
crystallize signing - Sign or verify data
Flags:

  -file string
    	The file to process
  -help
    	Get help on the 'crystallize signing' command.
  -output string
    	The output file
  -privkey string
    	The private key to use (default "priv.key")
  -pubkey string
    	The public to use (default "pub.key")
  -sign
    	Sign the data
  -signature string
    	The signature file to verify
  -text string
    	The text to process
  -verify
    	Verify the data

Installation

go install github.com/acheong08/crystallize@latest