[Hashing Home][Home]
If you break SHA-3 away from its fixed length output you get an EXtendable Output Function (XOF). This now has the potential of producing an almost infinite sets of outputs, and where we could thus take a single byte and produce an output of a billion bytes, or even take a billion bytes of input and produce a single byte output. In essence, it is a state generator, and where with given inputs we can reach a well-defined state. We can expose the state to anyone, as they will not know the secrets that allow us to take us to the previous and the next state. This page outlines the SHAKE method [article]. In this case we will use Go to implement SHAKE: