Repository navigation
Releases
mojo-hashlib v0.1.4
mojo-hashlib-public v0.1.4
Released: 2026-11-08 · Commit: c901815 · Previous: v0.1.3
What it does
sha256, sha1 and md5 with incremental update() and hexdigest(), plus shlex quote, join and split, byte for byte the same as Python's hashlib and shlex.
Highlights
- Packaging only: the conda recipe pins
mojo-compilerto the minor the package was built with (<1.3.0a0), so it cannot be installed on a Mojo it does not load on.
Changes
Changed
recipe.yaml:mojo-compilerrun dependency pinned to the build's minor (<1.3.0a0).
Verified
| Check | Result |
|---|---|
pkg-conda dry run on the version commit (H1-H3,H6) |
PASS: mojo-hashlib-0.1.4-hb0f4dca_0.conda |
Known limits
- Packages are built on one Mojo minor only; see the package protocol.
Upgrade / run
None: no API change.
Commits
c901815build: bump version to 0.1.46c5f0c2build: recipe pins mojo-compiler to the build's minor
mojo-hashlib v0.1.3
mojo-hashlib-public v0.1.3
Released: 2026-11-07 · Tag: v0.1.3 · Previous: v0.1.2
What it does
sha256, sha1 and md5 with incremental update() and hexdigest(), plus shlex quote, join and split, byte for byte the same as Python's hashlib and shlex.
Highlights
- Docs only: CHANGELOG names no home path.
Changes
Changed
CHANGELOG.mdand the release notes name no home path.
Verified
| Check | Result |
|---|---|
mojo-lib-audit on this tree |
PASS |
gh-publish --check (ci-local) |
OK |
Known limits
- As in v0.1.2.
Upgrade / run
None: no code or API change.
Commits
git log v0.1.2..v0.1.3
mojo-hashlib v0.1.2
mojo-hashlib v0.1.2
Released: 2026-11-04 · Commit: c2fe428 · Previous: v0.1.1
What it does
sha256, sha1 and md5 with incremental update() and hexdigest(), plus shlex quote, join and split, byte for byte the same as Python's hashlib and shlex.
Highlights
- README gets an install and quickstart block and one example.
Changes
Added
- Conda recipe (
recipe.yaml). - README install and quickstart block, one example, and badges for CI, latest release and license.
Verified
| Check | Result |
|---|---|
ci-local: the GitHub workflow in a clean Ubuntu 24.04 container |
PASS |
Known limits
- As in v0.1.1.
Upgrade / run
uv sync
Commits
c2fe428fix(release): pyproject.toml, recipe.yaml and uv.lock say 0.1.26dffd2bbuild: conda recipefad27d2docs: one example, one install block3734629docs: install and quickstart blocke03e0f9fix(release): pyproject and uv.lock say 0.1.1, the version of the latest tagab1f959docs: CI, latest-release and license badges
mojo-hashlib v0.1.1
mojo-hashlib v0.1.1
Released: 2026-10-29 · Commit: f070749 · Previous: v0.1.0
What it does
sha256, sha1 and md5 with incremental update() and hexdigest(), plus shlex quote, join and split, byte for byte the same as Python's hashlib and shlex.
Highlights
- Builds and runs on the stable Mojo 1.2.0 release.
Changes
Changed
- The pin moves to Mojo 1.2.0 (
pyproject.toml,uv.lock); README and skill say Mojo 1.2.
Verified
| Check | Result |
|---|---|
ci-local: the GitHub workflow in a clean Ubuntu 24.04 container, Mojo 1.2.0 |
PASS |
Known limits
- As in v0.1.0.
Upgrade / run
uv sync # installs Mojo 1.2.0
Commits
f070749build: Mojo 1.2.03e50b45docs: NOTICE names the owner and contact
mojo-hashlib v0.1.0
mojo-hashlib v0.1.0
Released: 2026-10-21 · Commit: 132cc40 · Previous: first release
What it does
sha256, sha1 and md5 with incremental update() and hexdigest(), plus shlex quote, join and split, byte for byte the same as Python's hashlib and shlex.
Highlights
- Identical to Python on 77 cases, including the padding edges at 55, 56, 63, 64 and 65 bytes and 100 KB of random data.
- shlex is about 30x faster than Python (100k rounds: 49 to 58 ms vs 1,551 to 1,562 ms); many small hashes 2x faster.
- One fixed 64-byte block buffer per hasher; whole blocks are hashed straight from the caller's bytes.
Changes
First public release, no earlier version.
Verified
| Check | Result |
|---|---|
scripts/check.sh: 77 cases vs Python hashlib and shlex |
PASS all |
scripts/ci.sh on a pristine Ubuntu 24.04.5 VM |
PASS all |
Known limits
- Bulk hashing is slower than Python, which uses OpenSSL with the CPU's SHA instructions: sha256 5.3x, sha1 2.2x, md5 1.2x slower on 64 MiB.
- No blake2 or sha512 yet.
- shlex is POSIX mode only.
Upgrade / run
git clone https://github.com/amarbaro/mojo-hashlib && cd mojo-hashlib && uv sync
mojo run -I src examples/quickstart.mojo
Commits
132cc40docs: CI badge5a3a05bchore: real uv.lock, oracle docstring names only what it printsa9edccedocs(hashlib): README, api, design, agent skill, quickstart and CI37d7393bench(hashlib): hashes and shlex against Python, same work and same results3f8aa77test(hashlib): edge cases for the documented APIa5d5149test(hashlib): Mojo case runner for the oracle gate7ad5123feat(hashlib): shlex quote, join and splitb201412feat(hashlib): sha256, sha1 and md5 as one generic hasher9493e97test(hashlib): hashlib and shlex oracle, 77 cases8c5c73cchore: repo layout, Apache-2.0, mojo>=1.1