digest

package module
v0.0.3 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

Installation

go install github.com/ismdeep/digest/cmd/digest@latest

Usage

digest <password>

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

Jump to

Keyboard shortcuts

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