Skip to content

Instantly share code, notes, and snippets.

@carmel
Forked from BetterProgramming/cryptofuncs.go
Created December 1, 2020 04:38
Show Gist options
  • Save carmel/820e9f93181e1e19b22c7ada2976b35a to your computer and use it in GitHub Desktop.
Save carmel/820e9f93181e1e19b22c7ada2976b35a to your computer and use it in GitHub Desktop.
const (
MD4 // import golang.org/x/crypto/md4
MD5 // import crypto/md5
SHA1 // import crypto/sha1
SHA224 // import crypto/sha256
SHA256 // import crypto/sha256
SHA384 // import crypto/sha512
SHA512 // import crypto/sha512
RIPEMD160 // import golang.org/x/crypto/ripemd160
SHA3_224 // import golang.org/x/crypto/sha3
SHA3_256 // import golang.org/x/crypto/sha3
SHA3_384 // import golang.org/x/crypto/sha3
SHA3_512 // import golang.org/x/crypto/sha3
SHA512_224 // import crypto/sha512
SHA512_256 // import crypto/sha512
BLAKE2s_256 // import golang.org/x/crypto/blake2s
BLAKE2b_256 // import golang.org/x/crypto/blake2b
BLAKE2b_384 // import golang.org/x/crypto/blake2b
BLAKE2b_512 // import golang.org/x/crypto/blake2b
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment