encoding

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomSalt

func GenerateRandomSalt() string

Types

type PasswordJsonEncoder

type PasswordJsonEncoder struct {
	// contains filtered or unexported fields
}

func NewPasswordJsonEncoder

func NewPasswordJsonEncoder(salt string) *PasswordJsonEncoder

func (*PasswordJsonEncoder) GetB64PasswordHash

func (e *PasswordJsonEncoder) GetB64PasswordHash(password string) string

func (*PasswordJsonEncoder) IsPasswordsMatch

func (e *PasswordJsonEncoder) IsPasswordsMatch(password, hash string) bool

Jump to

Keyboard shortcuts

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