//
pkg.gl
Category
github.com/deepfactor-io/trivy/v3
pkg
digest
package
3.9.1-2869
Repository:
https://github.com/deepfactor-io/trivy.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
12
Files
62 SLOC
#
Functions
CalcSHA1
No description provided by the author
CalcSHA256
No description provided by the author
NewDigest
NewDigest returns a Digest from alg and a hash.Hash object.
NewDigestFromString
NewDigestFromString returns a Digest from alg and a string.
#
Constants
MD5
md5 with hex encoding (lower case only).
SHA1
sha1 with hex encoding (lower case only).
SHA256
sha256 with hex encoding (lower case only).
#
Type aliases
Algorithm
No description provided by the author
Digest
Digest allows simple protection of hex formatted digest strings, prefixed by their algorithm.