Skip to content

Commit

Permalink
Add docs that hash uses hash_init, hash_update and digest
Browse files Browse the repository at this point in the history
  • Loading branch information
NorbertSzydlik authored and lpil committed Sep 30, 2024
1 parent ea7f16a commit 78c21ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gleam/crypto.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78c21ad

Please sign in to comment.