LIBKECCAK_SPEC_SHA3(3)

πŸ“¦ version 1.4.3, in arch rolling, opensuse-leap 16.0

πŸ’– NAME πŸ’–

libkeccak_spec_sha3 β€” configure SHA-3 hashing parameters ✨

okay bestie, welcome to the LIBKECCAK_SPEC_SHA3(3) page in the Library Functions Manual β€” it's literally all about setting up SHA-3 vibes πŸ’…


✨ SYNOPSIS ✨

#include <libkeccak.h>

void libkeccak_spec_sha3(struct libkeccak_spec *spec, long int x);

Link with -lkeccak.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so libkeccak_spec_sha3() sets *spec to specify the Keccak parameters used for SHA-3 hashing, with the output size specified in bits via the x parameter. That's the whole moment, no cap πŸ’–


🌸 RETURN VALUES 🌸

libkeccak_spec_sha3() does not return any value β€” no return era, periodt ✨


πŸŽ€ ERRORS πŸŽ€

libkeccak_spec_sha3() cannot fail. Iconic behavior honestly πŸ˜ŒπŸ’…


πŸ’œ EXAMPLE πŸ’œ

This example configures a struct libkeccak_spec to specify the Keccak parameters used for SHA3-256:

struct libkeccak_spec spec;
libkeccak_spec_sha3(&spec, 256);

🌈 SEE ALSO 🌈


xoxo, LIBKECCAK Β· LIBKECCAK_SPEC_SHA3(3) Β· date: not printed on this page, so we're calling it timeless πŸ«ΆπŸ’–

πŸ“¦ where this page comes from