| Crates.io | ntge |
| lib.rs | ntge |
| version | 0.1.0 |
| created_at | 2020-04-30 10:08:24.612111+00 |
| updated_at | 2020-04-30 10:08:24.612111+00 |
| description | A cryptography CLI tool that supports file encryption, decryption, signing and verifying. |
| homepage | https://dimension.im |
| repository | https://github.com/DimensionDev/ntge |
| max_upload_size | |
| id | 235766 |
| size | 59,269 |
A Command-Line-Interface tool that wraps the ntge-core API.
$ cargo build
Build the project first
$ cargo run --example create
It creates a new keypair example_key and saves it at ~/.ntge/
$ cargo run --example encrypt
It encrypts the message Welcome to use NTGE! to example_key and prints the ciphertext payload on the terminal.
$ cargo run --example encrypt_sign
It encrypts the message Welcome to use NTGE! to example_key, signs it as example_key and prints the ciphertext payload on the terminal.
$ cargo run --example decrypt
It encrypts the message Decrypt Succeeds! Welcome to use NTGE! to example_key, decrypt the ciphertext with example_key and prints the plaintext on the terminal.
$ cargo run --example verify
It encrypts the message Decrypt Succeeds! Welcome to use NTGE! to example_key, verify the signature in the payload with example_key.pub and prints message signature verified by example_key on the terminal.