jedisct1/zig-hctr2
HCTR2 length-preserving encryption algorithm for Zig
An implementation of the HCTR2 length-preserving encryption system.
HCTR2 is a tweakable super-permutation:
HCTR2 was originally designed for disk encryption, particularly for encrypting file names.
It also has many other use cases, including key wrapping and protocols such as LoRa, where nonces and authentication tags would be too large to authenticate individual messages.