cryptoutils

package
v0.0.0-...-93a69da Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHashAndPassword

func CompareHashAndPassword(hashedPassword []byte, password string) error

func HashPassword

func HashPassword(password string) ([]byte, error)

func RandomBytes

func RandomBytes(n int) ([]byte, error)

func Sha256

func Sha256(s string) string

func XApiKey

func XApiKey() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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