hash_protocol — Logtalk 3.100.1

protocol

# `hash_protocol`

Hashing protocol. Hash values are returned as lowercase hexadecimal atoms using the output width of each algorithm or extensible-output function instance.

Availability:
`logtalk_load(hashes(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-04-04
Compilation flags:
`static`
Dependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)

## Public predicates

### `hash/2`

Computes the hash for a list of bytes.

Compilation flags:
`static`
Template:
`hash(Bytes,Hash)`
Mode and number of proofs:
`hash(+list(byte),--atom)` - `one`

## Protected predicates

(none)

## Private predicates

(none)

## Operators

(none)