bcrypt

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

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

Go to latest
Published: Jun 29, 2015 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package bcrypt implements a password encoding mechanism for the mcf framework

Index

Constants

View Source
const DefaultCost = 12

DefaultCost is the base 2 logarithm of the Bcrypt work factor and is exported here for documentation purposes only. Use SetCost() to change it.

Variables

This section is empty.

Functions

func SetCost

func SetCost(cost int) error

SetCost sets the cost parameter of the Bcrypt algorithm. The value is the base 2 logarithm of the work factor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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