Add generic SHA3 implementation