Add sha3 implementation, introduce version-2 tables.