Documentation
¶
Overview ¶
Package crypto provides cryptographic operations for package building.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateSHA256 ¶
CalculateSHA256 calculates the SHA-256 checksum of a file. This consolidates the SHA256 calculation logic from osutils and fileutils.
func CalculateSHA256FromReader ¶
CalculateSHA256FromReader calculates SHA256 from an io.Reader. This is useful for calculating hashes of data streams.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.