sha2crypt

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: BSD-3-Clause Imports: 5 Imported by: 6

Documentation

Overview

Package sha2crypt implements sha256-crypt and sha512-crypt.

Index

Constants

This section is empty.

Variables

View Source
var Crypter256 abstract.Scheme

An implementation of Scheme performing sha256-crypt.

The number of rounds is raw.RecommendedRounds.

View Source
var Crypter512 abstract.Scheme

An implementation of Scheme performing sha512-crypt.

The number of rounds is raw.RecommendedRounds.

Functions

func NewCrypter256

func NewCrypter256(rounds int) abstract.Scheme

Returns a Scheme implementing sha256-crypt using the number of rounds specified.

func NewCrypter512

func NewCrypter512(rounds int) abstract.Scheme

Returns a Scheme implementing sha512-crypt using the number of rounds specified.

Types

This section is empty.

Directories

Path Synopsis
Package raw provides a raw implementation of the sha256-crypt and sha512-crypt primitives.
Package raw provides a raw implementation of the sha256-crypt and sha512-crypt primitives.

Jump to

Keyboard shortcuts

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