tokens: Former versions of BTA proposed the use of the SHA-3 hash algorithm as defined by FIPS-202 with a 512 bit key to ensure resistance to length extension attacks and many other theoretical vulnerabilities affecting SHA-2 and all other algorithms based on the Merkle – Damgård construction .