package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jun 11, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Size is the byte-size of a checksum
Hash computes a checksum. Implements the `io.Writer` interface.
Sum returns the current checksum of a Hash.
Write writes a byte slice to the hash function.
Sum stores a checksum
Compute returns the checksum of a byte slice.
FromBase64 converts a base64 encoded string to a Sum.
FromBytes converts a byte slice to a Sum. Its length must be sum.Size bytes.
FromHex converts a hex string to a Sum.
AsHex returns the hex-encoded representation of s.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.