Official implementation of paper "HiAE: A High-Throughput Authenticated Encryption Algorithm for Cross-Platform Efficiency"
The HiAE is an AES-based AEAD cipher that mainly focuses on cross-platform efficiency(ARM and x86) and achieves the fastest speed on the latest ARM and x86 architectures.
View the full speed benchmark here
The File encryption will auto append the AEAD tag after the file for integrity protection.
compile
#For x86
gcc -O3 -march=native -I code/ code/HiAE.c app/file_enc.c -o FileHiAE
#For armv8
gcc -O3 -march=armv8-a+crypto -I code/ code/HiAE.c app/file_enc.c -o FileHiAE
Usage
./FileHiAE <encrypt/decrypt> <input_file> <output_file> <key: 32 chars> <iv: 16 chars> [buffer_size: Default 65536]
I would like to extend my heartfelt thanks to the following individuals for their assistance in testing the performance data:
- XIE Wenzheng @ SCUT
- ZHANG Tianle @ SCUT
- ZHU Di @ SYSU
- YE Fengwei @ SYSU
- ZHENG Haowen @ NCTU
- FU Ze @ BIT
- SU Changran @ NJU
Their contributions were crucial in ensuring the scalability of HiAE across various platforms.
@misc{HiAE,
author = {Han Chen and Tao Huang and Phuong Pham and Shuang Wu},
title = {HiAE: A High-Throughput Authenticated Encryption Algorithm for Cross-Platform Efficiency},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/377},
year = {2025},
url = {https://eprint.iacr.org/2025/377}
}