Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Simple CLI for encrypting data with a private key, using HMAC

Project description

Simple CLI for encrypting data with a private key, using HMAC

$ hmac --help
Usage: hmac [OPTIONS] INPUT_FILE

  Encrypt data in INPUT_FILE using HMAC

  with provided secret cryptographic key

Options:
  --key TEXT                      encryption key. Will prompt for if not
                                  provided.
  --algorithm [md5|sha1|sha224|sha256|sha384|sha512]
                                  algorithm to use
  --help                          Show this message and exit.

$ hmac --key foo README.rst
515902266c1a02e60452d152855aa3b46ed5b006

$ echo "Hello" | hmac --key foo -
aabbe57c6a0ba953cd907071004a1db16fe78891

$ hmac -
Key: ******
Repeat for confirmation: ******
Here is some text
^D
c7ab7eed09fff2d0fcf258dfde8222d264013c4f

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hmac_cli, version 0.0.0
Filename, size File type Python version Upload date Hashes
Filename, size hmac_cli-0.0.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page