Skip to content

Commit 0e80ff8

Browse files
Add docs that hash uses hash_init, hash_update and digest
1 parent 2afa406 commit 0e80ff8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gleam/crypto.gleam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pub type HashAlgorithm {
3737
pub type Hasher
3838

3939
/// Computes a digest of the input bit string.
40+
/// Uses `hash_init`, `hash_update` and `digest` for calculation.
4041
///
4142
/// Example:
4243
/// ```gleam

0 commit comments

Comments
 (0)