bcrypt

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package bcrypt implements the bcrypt password hashing mechanism.

Please note that bcrypt truncates passwords to 72 characters in length. Consider using a more modern hashing scheme such as scrypt or sha-crypt. If you must use bcrypt, consider using bcrypt-sha256 instead.

Index

Constants

View Source
const RecommendedCost = 12

The recommended cost for bcrypt. This may change with subsequent releases.

Variables

An implementation of Scheme implementing bcrypt.

Uses RecommendedCost.

Functions

func New

func New(cost int) abstract.Scheme

Create a new scheme implementing bcrypt. The recommended cost is RecommendedCost.

Types

This section is empty.

Jump to

Keyboard shortcuts

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