crypto

package
v0.0.0-...-1d97044 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Certificate

func Certificate(organization string, host ...string) (tls.Certificate, *errorAVA.Error)

Types

type Password

type Password string

func NewPassword

func NewPassword(password string) *Password

func (*Password) ComparePassword

func (p *Password) ComparePassword(newPassword string) *errorAVA.Error

func (*Password) Hash

func (p *Password) Hash() (string, *errorAVA.Error)

type PasswordI

type PasswordI interface {
	Hash() (string, *errorAVA.Error)
	ComparePassword(newPassword string) *errorAVA.Error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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