FLOE
A random-access authenticated encryption scheme that achieves constant-memory streaming, random access and FIPS compliance through structural changes such as moving segment position information into the AAD and adding segment headers and ciphertext headers, making it suitable for large-file encryption scenarios.
Timeline (last 90 days)
FLOE is a random-access authenticated encryption scheme designed to solve the problem that standard AEAD (such as AES-GCM) has memory usage that grows linearly with file size when decrypting very large files.
FLOE moves segment position information from the IV to the AAD, allowing the IV to reuse random values to satisfy FIPS requirements.
FLOE derives a new key every 2^20 segments, using HKDF-Expand as the KDF and mixing in all parameters, the ciphertext-level IV, and the developer-provided AAD.
The FLOE team proposes the RAAE (random-access authenticated encryption) scheme and the RAROR security notion, which applies the standard AEAD real-or-random definition at the per-segment level and allows the adversary to make encryption and decryption queries across multiple messages in any order.
The FLOE ciphertext header provides a context commitment, so that a single ciphertext can only be decrypted under one key, nonce and AAD triple, and its position-free commitment relies only on the collision resistance of the KDF, independent of the choice of underlying AEAD.
FLOE introduces the RAROR-error notion and proves that returning distinguishing error messages gives the attacker no additional advantage, provided the error simulator does not hold the key.
In rough benchmarks, when encrypting GB-scale files AES-GCM and FLOE take comparable time; but during decryption AES-GCM's time increases substantially and its memory usage reaches more than ten times the file size, whereas FLOE's decryption time and memory are essentially on par with encryption.
For ten-GB-scale files, when using random access and multi-threading to process randomly sized chunks, the time is about half that of sequential encrypt-upload-then-download-decrypt, throughput reaches about one gigabit per second, and the network becomes the bottleneck.
FLOE has built-in key scheduling, so that using the same key for both FLOE and another algorithm does not affect FLOE's own security (provided the other algorithm has no key-recovery attacks and does not incorporate FLOE's KDF).
FLOE currently only supports write-once-read-many (WORM); allowing segment rewriting would introduce rollback attacks, which is an open problem more fundamental than the construction.
1 more timeline events
All Facts (11)
FLOE is a random-access authenticated encryption scheme designed to solve the problem that standard AEAD (such as AES-GCM) has memory usage that grows linearly with file size when decrypting very large files.
50%UnverifiedFLOE moves segment position information from the IV to the AAD, allowing the IV to reuse random values to satisfy FIPS requirements.
50%UnverifiedFLOE derives a new key every 2^20 segments, using HKDF-Expand as the KDF and mixing in all parameters, the ciphertext-level IV, and the developer-provided AAD.
50%UnverifiedThe FLOE team proposes the RAAE (random-access authenticated encryption) scheme and the RAROR security notion, which applies the standard AEAD real-or-random definition at the per-segment level and allows the adversary to make encryption and decryption queries across multiple messages in any order.
50%UnverifiedThe FLOE ciphertext header provides a context commitment, so that a single ciphertext can only be decrypted under one key, nonce and AAD triple, and its position-free commitment relies only on the collision resistance of the KDF, independent of the choice of underlying AEAD.
50%UnverifiedFLOE introduces the RAROR-error notion and proves that returning distinguishing error messages gives the attacker no additional advantage, provided the error simulator does not hold the key.
50%UnverifiedIn rough benchmarks, when encrypting GB-scale files AES-GCM and FLOE take comparable time; but during decryption AES-GCM's time increases substantially and its memory usage reaches more than ten times the file size, whereas FLOE's decryption time and memory are essentially on par with encryption.
50%UnverifiedFor ten-GB-scale files, when using random access and multi-threading to process randomly sized chunks, the time is about half that of sequential encrypt-upload-then-download-decrypt, throughput reaches about one gigabit per second, and the network becomes the bottleneck.
50%UnverifiedFLOE has built-in key scheduling, so that using the same key for both FLOE and another algorithm does not affect FLOE's own security (provided the other algorithm has no key-recovery attacks and does not incorporate FLOE's KDF).
50%UnverifiedFLOE currently only supports write-once-read-many (WORM); allowing segment rewriting would introduce rollback attacks, which is an open problem more fundamental than the construction.
50%UnverifiedFLOE's public specification has been published on GitHub, providing reference implementations in four languages, and third parties have already contributed Zig and Rust implementations.
50%