DefaultEncryptionService

package
v0.0.0-...-515d6fb Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2016 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CDEFAULT_ENCRYPT_COST = 10
)

Variables

This section is empty.

Functions

func CreatePassword

func CreatePassword(raw_pass string, saltLength, encryptCost int) *password

Handles create a new hash/salt combo from a raw password as inputted by the user

func CreatePassword_DefaultComplexity

func CreatePassword_DefaultComplexity(raw_pass string) *password

func New

func New() EncryptionService

func PasswordMatchHex

func PasswordMatchHex(guess string, hexSalt, hexHashedPassword string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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