From 78c21ad71706948ff467040919ff601e7fa4dc4e Mon Sep 17 00:00:00 2001 From: Norbert Szydlik Date: Mon, 30 Sep 2024 16:53:58 +0200 Subject: [PATCH] Add docs that hash uses hash_init, hash_update and digest --- src/gleam/crypto.gleam | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gleam/crypto.gleam b/src/gleam/crypto.gleam index 99be23c..974a4df 100644 --- a/src/gleam/crypto.gleam +++ b/src/gleam/crypto.gleam @@ -37,6 +37,7 @@ pub type HashAlgorithm { pub type Hasher /// Computes a digest of the input bit string. +/// Uses `hash_init`, `hash_update` and `digest` for calculation. /// /// Example: /// ```gleam