News for hackers. Stuff that matters.
Re:Maybe Skip SHA-3 by yorwba on Wednesday May 31, 2017 @09:04PM (#14457175)
Permutations are always invertible. Otherwise several different inputs will be mapped to the same output, which needlessly reduces your state space.

The inverse is also required for decryption: If you encrypt as ciphertext = permutation(plaintext + key), decryption is plaintext = inverse(ciphertext) - key.

Re:Maybe Skip SHA-3 by baby on Wednesday May 31, 2017 @09:20PM (#14457241)
My question is why does Keccak not use a one-way function instead of a permutation.

> The inverse is also required for decryption: If you encrypt as ciphertext = permutation(plaintext + key), decryption is plaintext = inverse(ciphertext) - key.

This is not how encryption/decryption works with Keccak. Keccak is used to create a stream (it is then XORed with the plaintext or ciphertext).