Skip to content
This repository was archived by the owner on Oct 17, 2026. It is now read-only.
Bitcoin-PIRPublic archive

About

Introducing the ALF family: AES-NI-based length- and format-preserving encryption

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

ALF-n-t (Rust port) — ARCHIVED

This repository is archived and no longer maintained.

It was an independent Rust port of the ALF-n-t format-preserving encryption cipher (ARM64 NEON+AES, x86_64 AES-NI, and a wasm32 backend), written for use as a small-domain PRP backend in BitcoinPIR's HarmonyPIR client. BitcoinPIR retired the ALF backend in May 2026 in favour of FastPRP, and this port has not been developed since.

Use the authors' implementation instead

The ALF cipher family is designed and maintained by its authors (Dachao Wang, Alexander Maximov, Thomas Johansson). Please use their reference implementation, tools and test vectors:

The upstream repository receives bug fixes and updated test vectors (for example the fixes published on 2026-10-02); this port does not.

Notes for anyone still pinning this repository

  • Only the ALF-n-t variant was ever ported here. The radix-stream ALF variant (alf.h upstream) was never part of this repository.
  • The code stays available read-only at its existing commits, so a git dependency pinned to a specific revision continues to resolve.
  • Usage notes for the port are kept in USAGE.md for reference.

About

Introducing the ALF family: AES-NI-based length- and format-preserving encryption

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages