digest

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 4 Imported by: 1

README

digest

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(password string) string

Generate 生成安全摘要 salt := randBytes(64); base64(salt + sha512(password + salt))

func Verify

func Verify(digest string, password string) bool

Types

This section is empty.

Directories

Path Synopsis
cmd
digest-gen command

Jump to

Keyboard shortcuts

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