encoder

package
v0.0.0-...-555b434 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	Prefix   []byte
	Encoding *base64.Encoding
}

func (*Decoder) Decode

func (d *Decoder) Decode(encodedHash []byte) (salt []byte, hash []byte, err error)

type Encoder

type Encoder struct {
	Prefix   []byte
	Salt     []byte
	Hash     []byte
	Encoding *base64.Encoding
}

func (*Encoder) Encode

func (e *Encoder) Encode() ([]byte, error)

Jump to

Keyboard shortcuts

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