cryptography

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Hashes = [1]string{"sha256"}

Hashes is the list of supported Cryptographic Hash Functions used for the checksum feature

Functions

func GenerateChecksum

func GenerateChecksum(sourcePack, destinationDir, hashFunction string) error

GenerateChecksum creates a .checksum file for a pack.

func VerifyChecksum

func VerifyChecksum(sourcePack, sourceChecksum string) error

VerifyChecksum validates the contents of a pack according to a provided .checksum file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL