phc

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PHC

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

PHC string format specifies encodings for the serialization of a hash value and its metadata. https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md

func Parse

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

func (*PHC) Hash

func (phc *PHC) Hash() string

func (*PHC) Id

func (phc *PHC) Id() string

func (*PHC) Params

func (phc *PHC) Params() params

func (*PHC) Salt

func (phc *PHC) Salt() string

func (*PHC) Serialize

func (phc *PHC) Serialize() string

func (*PHC) ToMCF

func (phc *PHC) ToMCF() (*mcf.MCF, error)

func (*PHC) Validate

func (phc *PHC) Validate() bool

func (*PHC) Version

func (phc *PHC) Version() string

Jump to

Keyboard shortcuts

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