libkeccak_behex_lower(3)

libkeccak_behex_lower3

Converts a binary hashsum to lower case hexadecimal

Usage

#include <libkeccak.h>
void libkeccak_behex_lower(char *restrict output, const void *restrict hashsum, size_t n);

Link with -lkeccak.

Overview

The libkeccak_behex_lower() function converts a binary hashsum, stored in hashsum, to lowercase hexadecimal, and stores the hexadecimal representation in output.

output will be terminated by a NUL-character.

The n parameter specifies the number of bytes the binary hashsum is comprised. output needs an allocation size of (2 * n + 1).

Return values

The libkeccak_behex_lower() function does return any value.

Errors

The libkeccak_behex_lower() function cannot fail.

From libkeccak 1.4.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.