crypto: golang.org/x/crypto/ssh/internal/bcrypt_pbkdf Index | Files

package bcrypt_pbkdf

import "golang.org/x/crypto/ssh/internal/bcrypt_pbkdf"

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

Package Files

bcrypt_pbkdf.go

func Key Uses

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.

Package bcrypt_pbkdf imports 3 packages (graph) and is imported by 1 packages. Updated 2020-03-25. Refresh now. Tools for package owners.