diff --git a/vlib/crypto/sha512/sha512.v b/vlib/crypto/sha512/sha512.v index 167bc2f007..b8c66f7c1d 100644 --- a/vlib/crypto/sha512/sha512.v +++ b/vlib/crypto/sha512/sha512.v @@ -151,17 +151,17 @@ pub fn new() &Digest { } // new512_224 returns a new Digest (implementing hash.Hash) computing the SHA-512/224 checksum. -fn new512_224() &Digest { +pub fn new512_224() &Digest { return new_digest(.sha512_224) } // new512_256 returns a new Digest (implementing hash.Hash) computing the SHA-512/256 checksum. -fn new512_256() &Digest { +pub fn new512_256() &Digest { return new_digest(.sha512_256) } // new384 returns a new Digest (implementing hash.Hash) computing the SHA-384 checksum. -fn new384() &Digest { +pub fn new384() &Digest { return new_digest(.sha384) }