Skip to main content

Implementation of the UMAC algorithm defined by RFC 4418

Project description

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())

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

umac-2.0-cp311-abi3-manylinux2014_x86_64.whl (22.4 kB view details)

Uploaded CPython 3.11+

umac-2.0-cp311-abi3-manylinux2014_aarch64.whl (21.8 kB view details)

Uploaded CPython 3.11+

umac-2.0-cp311-abi3-macosx_14_0_arm64.whl (54.7 kB view details)

Uploaded CPython 3.11+macOS 14.0+ ARM64

File details

Details for the file umac-2.0-cp311-abi3-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for umac-2.0-cp311-abi3-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5fab2c6ac59bb2e557b4ce55dd8857fd8c870b0121b41db31445b5e0fa2ee3e
MD5 56bcf94b57644925fc44c986f06493f0
BLAKE2b-256 5a5894513c5f07468ab07bfee2aaeb9860b86b173ba2d8b60041cba26031b070

See more details on using hashes here.

Provenance

The following attestation bundles were made for umac-2.0-cp311-abi3-manylinux2014_x86_64.whl:

Publisher: publish.yml on slietar/umac

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file umac-2.0-cp311-abi3-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for umac-2.0-cp311-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b7e60d1e4c00d3822f134dab9110bbfd416f604a75c46d2be6ebbdd393b78c38
MD5 41c7afd649dc4d37c2b24ec9676b354d
BLAKE2b-256 b50c8bc6e111e45f4c547f7d3c84b6acdad800a25a3d98bed9ba69e4cb9ce30e

See more details on using hashes here.

Provenance

The following attestation bundles were made for umac-2.0-cp311-abi3-manylinux2014_aarch64.whl:

Publisher: publish.yml on slietar/umac

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file umac-2.0-cp311-abi3-macosx_14_0_arm64.whl.

File metadata

  • Download URL: umac-2.0-cp311-abi3-macosx_14_0_arm64.whl
  • Upload date:
  • Size: 54.7 kB
  • Tags: CPython 3.11+, macOS 14.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for umac-2.0-cp311-abi3-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 40300c04ded8062b66b3de2b12fd644c16d46ade7d110db792e3525da3b3ea73
MD5 7d34ef7dbc968463173465ebec0159a5
BLAKE2b-256 4689f37e1e6727e41728da172a4eee0c9cd309e96febc866689fb8d487277cc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for umac-2.0-cp311-abi3-macosx_14_0_arm64.whl:

Publisher: publish.yml on slietar/umac

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page