package hash
Import Path
github.com/pion/dtls/v3/pkg/crypto/hash (on go.dev)
Dependency Relation
imports 5 packages, and imported by 4 packages
Involved Source Files
Package hash provides TLS HashAlgorithm as defined in TLS 1.2
Package-Level Type Names (only one)
Algorithm is used to indicate the hash algorithm used
https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-18
CryptoHash returns the crypto.Hash implementation for the given HashAlgorithm.
Digest performs a digest on the passed value.
Insecure returns if the given HashAlgorithm is considered secure in DTLS 1.2
.
String makes hashAlgorithm printable.
Algorithm : expvar.Var
Algorithm : fmt.Stringer
func Algorithms() map[Algorithm]struct{}
const Ed25519
const MD5
const None
const SHA1
const SHA224
const SHA256
const SHA384
const SHA512
Package-Level Functions (only one)
Algorithms returns all the supported Hash Algorithms.
Package-Level Constants (total 8)
Supported hash algorithms.
Supported hash algorithms.
Supported hash algorithms.
Supported hash algorithms.
Supported hash algorithms.
Supported hash algorithms.
Supported hash algorithms.
Supported hash algorithms.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |