Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hasher ¶
type Hasher struct {
// contains filtered or unexported fields
}
func NewFromChecksumString ¶
func (Hasher) SumToChecksumString ¶
SumToChecksumString sums and encodes the checksum as a string that can be used as a subresource integrity.
See https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity for format.
Click to show internal directories.
Click to hide internal directories.