Password hash family

Balloon hashing

A memory-hard password hash with provable bounds and data-independent access

unverified 1 variant Balloon hashing paper (2016)

Overview

Balloon hashing is a memory-hard password hashing function proposed in 2016 by Dan Boneh, Henry Corrigan-Gibbs and Stuart Schechter. It is built from any standard hash function and has a proof of memory-hardness in the random-oracle model.

Balloon has three phases. Expand fills a buffer of blocks sequentially by hashing each previous block. Mix then makes several rounds over the buffer; each block is updated by hashing it with its predecessor and with a small number of other blocks chosen pseudo-randomly from the salt, not from the password, so memory access is independent of secret data. Extract outputs the final block.

Because it uses only a standard hash such as SHA-256 or BLAKE2b, Balloon can be implemented with approved primitives in regulated environments. NextSSL includes a Balloon entry wired from source, not yet verified against reference outputs. Variants can use multiple threads for parallelism. Its proofs assume an ideal hash function, which standard hashes are believed to approximate.

History

2016–2016
  1. Balloon hashing published by Dan Boneh, Henry Corrigan-Gibbs, Stuart Schechter

Security notes

Balloon's proofs give it strong theoretical support, and no practical attacks are known, but it has seen little deployment compared with Argon2. NextSSL's implementation is unverified.

Typical uses

Research on provable memory-hardnessPassword hashing with standard hash primitives

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Balloon
balloon
unverified out 32 · salt 0–64 Balloon hashing (Boneh, Corrigan-Gibbs, Schechter 2016) root

Frequently asked questions

Which Balloon hashing variants does NextSSL include?

NextSSL registers 1 Balloon hashing variant: balloon.