sha512_crypt

package
v0.0.0-...-93fd085 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2016 License: BSD-2-Clause Imports: 5 Imported by: 4

Documentation

Overview

Package sha512_crypt implements Ulrich Drepper's SHA512-crypt password hashing algorithm.

The specification for this algorithm can be found here: http://www.akkadia.org/drepper/SHA-crypt.txt

Index

Constants

View Source
const (
	MagicPrefix   = "$6$"
	SaltLenMin    = 1
	SaltLenMax    = 16
	RoundsMin     = 1000
	RoundsMax     = 999999999
	RoundsDefault = 5000
)

Variables

This section is empty.

Functions

func GetSalt

func GetSalt() common.Salt

func New

func New() crypt.Crypter

New returns a new crypt.Crypter computing the SHA512-crypt password hashing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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