/termkey-js

explore encryption strategies in Node

Primary LanguageJavaScript

TERMKEY License: MIT

Simple, user-friendly text encryption


Description

Termkey uses the AES-256-CBC SSL encryption standard along with a password-based key derivation function (PBKDF2) to encrypt and decrypt sensitive text information.




Table of Contents




Installation

npm i -g termkey


Usage

    termkey <command> <...args?>
    _____________________________
    Available Commands

    gen ::: Generate a secure, unique encryption key
    encrypt || e <filename> ::: Encrypt a text file and write encrypted ciphertext as .bin
    decrypt || d <filename> ::: Decrypt a .bin ciphertext file and write with prompted filename

Examples

termkey gen

PRODUCES

Screenshot of Keygen terminal output Screenshot of jumbled unicode representation of key

THEN
termkey encrypt plaintext.md

Unencrypted plaintext input


Contributing

Reach out to me if you wish to help improve the application!


Tests

Coming Soon


Questions

Shoot me an email @ jdiehl2236@gmail.com with any questions regarding the termkey package.


Changelog

v1.0.5

(7/5/23)

  • Added support for specifying output file names.
  • Improved UX with adjusted input prompts.