bcrypt_pbkdf

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package bcrypt_pbkdf implements bcrypt_pbkdf(3) from OpenBSD.

See https://flak.tedunangst.com/post/bcrypt-pbkdf and https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libutil/bcrypt_pbkdf.c.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Key

func Key(password, salt []byte, rounds, keyLen int) ([]byte, error)

Key derives a key from the password, salt and rounds count, returning a []byte of length keyLen that can be used as cryptographic key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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