pass

package
v0.0.0-test-multiarch Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(hash, secret []byte) error

Compare compares a pass hash with a pass returning an error if they do not match.

func Hash

func Hash(secret []byte) ([]byte, error)

Hash hashes a pass ready for storage. Calling Hash multiple times on the same pass will return different hashes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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