From e4712ba1fb0cc51c562ba4d3097d2b30356e095e Mon Sep 17 00:00:00 2001 From: Rafael Fourquet Date: Mon, 9 Oct 2023 11:40:58 +0200 Subject: [PATCH] add digest! Co-authored-by: Nathan Zimmerberg <39104088+nhz2@users.noreply.github.com> --- stdlib/Random/src/RNGs.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/Random/src/RNGs.jl b/stdlib/Random/src/RNGs.jl index 7db5d570b8887..7782de88ba537 100644 --- a/stdlib/Random/src/RNGs.jl +++ b/stdlib/Random/src/RNGs.jl @@ -332,6 +332,7 @@ function hash_seed(str::AbstractString) SHA.update!(ctx, (pad % UInt8,)) end SHA.update!(ctx, (0x05,)) + SHA.digest!(ctx) end