Skip to main content

UMAC

This Python package provides an implementation of the UMAC algorithm defined by RFC 4418.

It supports Python 3.11 and later.

Installation

This package is available on PyPI under the name umac.

Usage

The API loosely follows the PEP 247 standard.

from umac import UMAC

mac = UMAC(
    digest_size=4, # Using UMAC-32
    key=b"abcdefghijklmnop",
    nonce=b"bcdefghi",
)

mac.update(b"aaa")
digest = mac.digest()

print(digest.hex())

Metadata

Release files for umac 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for umac 2.0
File Interpreter ABI Platform Actions
umac-2.0-cp311-abi3-manylinux2014_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for umac-2.0-cp311-abi3-manylinux2014_x86_64.whl
umac-2.0-cp311-abi3-manylinux2014_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for umac-2.0-cp311-abi3-manylinux2014_aarch64.whl
umac-2.0-cp311-abi3-macosx_14_0_arm64.whl CPython 3.11 abi3 macOS 14.0+ ARM64 Details for umac-2.0-cp311-abi3-macosx_14_0_arm64.whl

Total release size: 98.9 kB

Release files / umac-2.0-cp311-abi3-manylinux2014_x86_64.whl

Download URL umac-2.0-cp311-abi3-manylinux2014_x86_64.whl
Size 22.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
e5fab2c6ac59bb2e557b4ce55dd8857fd8c870b0121b41db31445b5e0fa2ee3e
BLAKE2b-256 checksum
How to use checksums
5a5894513c5f07468ab07bfee2aaeb9860b86b173ba2d8b60041cba26031b070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2025.

Transparency log

Release files / umac-2.0-cp311-abi3-manylinux2014_aarch64.whl

Download URL umac-2.0-cp311-abi3-manylinux2014_aarch64.whl
Size 21.8 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
b7e60d1e4c00d3822f134dab9110bbfd416f604a75c46d2be6ebbdd393b78c38
BLAKE2b-256 checksum
How to use checksums
b50c8bc6e111e45f4c547f7d3c84b6acdad800a25a3d98bed9ba69e4cb9ce30e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2025.

Transparency log

Release files / umac-2.0-cp311-abi3-macosx_14_0_arm64.whl

Download URL umac-2.0-cp311-abi3-macosx_14_0_arm64.whl
Size 54.7 kB
Tags CPython 3.11 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
40300c04ded8062b66b3de2b12fd644c16d46ade7d110db792e3525da3b3ea73
BLAKE2b-256 checksum
How to use checksums
4689f37e1e6727e41728da172a4eee0c9cd309e96febc866689fb8d487277cc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2025.

Transparency log

Security for umac 2.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.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for umac-2.0-cp311-abi3-manylinux2014_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.0 This release

3 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page