Apex › Cryptography

Hiding what you access (Path ORAM)

Encryption hides the data on untrusted storage, but the server still sees which blocks you touch — and that access pattern leaks. Path ORAM stores blocks in a binary tree, each secretly assigned to a random leaf and living on the root-to-leaf path. To access one, read its whole path into a client stash, remap the block to a fresh random leaf, and write back. Because the leaf is re-randomized every time, every access reads a uniformly random path independent of which block you wanted. Verified in node: reads always return the last write (0 mismatch/20000 ops), accessed leaves are uniform, and the stash stays tiny. Click blocks and watch the server see only random paths.

More in Cryptography