bcrypt_pbkdf

package
v0.0.0-...-dce874e Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: BSD-3-Clause 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