jbe@499: --[[-- jbe@499: hash = -- SHA3-224 digest (in hex notation) of input string jbe@499: moonhash.sha3_224( jbe@499: data -- input string jbe@499: ) jbe@499: jbe@499: Calculates the SHA3-224 checksum with a security of 112 bits for collision attacks and 224 bits for preimage and second preimage attacks. jbe@499: jbe@499: --]]-- jbe@499: -- Implemented in moonhash.c and moonhash_sha3.c jbe@499: --//-- jbe@499: jbe@499: jbe@499: --[[-- jbe@499: hash = -- SHA3-256 digest (in hex notation) of input string jbe@499: moonhash.sha3_256( jbe@499: data -- input string jbe@499: ) jbe@499: jbe@499: Calculates the SHA3-256 checksum with a security of 128 bits for collision attacks and 256 bits for preimage and second preimage attacks. jbe@499: jbe@499: --]]-- jbe@499: -- Implemented in moonhash.c and moonhash_sha3.c jbe@499: --//-- jbe@499: jbe@499: jbe@499: --[[-- jbe@499: hash = -- SHA3-384 digest (in hex notation) of input string jbe@499: moonhash.sha3_384( jbe@499: data -- input string jbe@499: ) jbe@499: jbe@499: Calculates the SHA3-384 checksum with a security of 192 bits for collision attacks and 384 bits for preimage and second preimage attacks. jbe@499: jbe@499: --]]-- jbe@499: -- Implemented in moonhash.c and moonhash_sha3.c jbe@499: --//-- jbe@499: jbe@499: jbe@499: --[[-- jbe@499: hash = -- SHA3-512 digest (in hex notation) of input string jbe@499: moonhash.sha3_512( jbe@499: data -- input string jbe@499: ) jbe@499: jbe@499: Calculates the SHA3-512 checksum with a security of 512 bits for collision attacks and 256 bits for preimage and second preimage attacks. jbe@499: jbe@499: --]]-- jbe@499: -- Implemented in moonhash.c and moonhash_sha3.c jbe@499: --//-- jbe@499: jbe@499: jbe@499: --[[-- jbe@499: hash = -- 128 bits of SHAKE128 digest (in hex notation) of input string jbe@499: moonhash.shake128_128( jbe@499: data -- input string jbe@499: ) jbe@499: jbe@499: Calculates the first 128 bits of the SHAKE128 digest (FIPS 202) with a security of 64 bits for collision attacks and 128 bits for preimage and second preimage attacks. jbe@499: jbe@499: --]]-- jbe@499: -- Implemented in moonhash.c and moonhash_sha3.c jbe@499: --//-- jbe@499: jbe@499: