mcf

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCF

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

MCF (Modular Crypt Format) specifies encodings for the serialization of a hash value and its metadata. https://passlib.readthedocs.io/en/stable/modular_crypt_format.html

func Parse

func Parse(str string) (*MCF, error)

func (*MCF) Hash

func (mcf *MCF) Hash() string

func (*MCF) Id

func (mcf *MCF) Id() string

func (*MCF) Serialize

func (mcf *MCF) Serialize() string

func (*MCF) SetHash

func (mcf *MCF) SetHash(str string) error

func (*MCF) SetId

func (mcf *MCF) SetId(str string) error

Jump to

Keyboard shortcuts

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