One-way permutation (source code)

= One-way permutation
{wiki}

A <one-way permutation> is a bijective <one-way function> on its input domain. Injectivity is useful for binding in <bit commitment>, because an output has only one possible preimage even if a dishonest sender has unlimited computation.