sha256_crypt

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package sha256_crypt implements Ulrich Drepper's SHA256-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   = "$5$"
	SaltLenMin    = 1
	SaltLenMax    = 16
	RoundsMin     = 1000
	RoundsMax     = 999999999
	RoundsDefault = 5000
)

Variables

This section is empty.

Functions

func New

func New() crypt.Crypter

New returns a new crypt.Crypter computing the SHA256-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