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
Metadata
Release files for hmac_cli 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hmac_cli-0.0.0.tar.gz | 2.0 kB | Without provenance | Details for hmac_cli-0.0.0.tar.gz |
Release files / hmac_cli-0.0.0.tar.gz
| Download URL | hmac_cli-0.0.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
077076d57755620bea41c23c19d5c00282bc2f1a9dbd9b89c728b6c0960cee29
|
|
BLAKE2b-256 checksum How to use checksums |
7788b4a1c7304e4a3067e273de6e4587f678a5d29fcbb0bcbbcf782500bfd063
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hmac_cli 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.