calc_hmac
Overview
Calculate HMAC (Hash-based Message Authentication Code).
Usage
Installation:
pip3 install calc_hmac
# or
python3 -m pip install calc_hmac
Examples
With all options:
calculate_hmac \
-l 64 \
-d "sha512" \
-b "utf-8" \
-t "stdin" \
-i "This is the content to be verified." \
-k "keyhexifnotgeneratingrandomly" \
-e "hmachexifcomparingvalues"
With defaults:
calculate_hmac \
-t "stdin" \
-i "This is the content to be verified." \
-k "keyhexifnotgeneratingrandomly" \
-e "hmachexifcomparingvalues"
Example Output
Compare values:
Key: "generatedorspecifiedkeyhex"
Calculated HMAC: "calculatedhmacvalue"
HMAC is valid.
Generate hash:
Key: "generatedorspecifiedkeyhex"
Calculated HMAC: "calculatedhmacvalue"
Metadata
Release files for calc_hmac 1.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 |
|---|---|---|---|---|
| calc_hmac-1.0.0.tar.gz | 2.6 kB | Without provenance | Details for calc_hmac-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| calc_hmac-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for calc_hmac-1.0.0-py3-none-any.whl |
Total release size: 6.4 kB
Release files / calc_hmac-1.0.0.tar.gz
| Download URL | calc_hmac-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
726b7a4d0fa7a01f341c64edb5dbd518742f5a9c66fad98d136108dc9a1d3a1f
|
|
BLAKE2b-256 checksum How to use checksums |
473d418f72bf21a2262a30cb9f5b05e6a3c3714d50849e3b0a3231168401623d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.14.4 Linux/5.15.154+
|
Release files / calc_hmac-1.0.0-py3-none-any.whl
| Download URL | calc_hmac-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3321d72b13a228500e3e1eec59279467da2bd7f44f33d6ef0480f998b28674e
|
|
BLAKE2b-256 checksum How to use checksums |
127946131d30a77cc46f9704ed059c1cb2a068a4f5f497777e8e31f8086c123e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.14.4 Linux/5.15.154+
|
Security for calc_hmac 1.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.