---
name: "libkeccak_behex_lower"
section: "3"
platform: "linux"
package: "libkeccak"
version: "1.4.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libkeccak_behex_lower"
---

# libkeccak\_behex\_lower(3)

Converts a binary hashsum to lower case hexadecimal

## NAME

libkeccak\_behex\_lower - Converts a binary hashsum to lower case hexadecimal

## SYNOPSIS

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

Link with *-lkeccak*.

## DESCRIPTION

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.

## SEE ALSO

[**libkeccak\_behex\_upper**(3)](/libkeccak_behex_upper/3.md), [**libkeccak\_unhex**(3)](/libkeccak_unhex/3.md)
