pbkdf

package
v0.0.0-...-e166e8c Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: BSD-2-Clause, MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pbkdf implements

Entire package adapted from https://github.com/Azure/go-pkcs12/blob/master/pbkdf.go and https://github.com/Azure/go-pkcs12/blob/master/crypto.go under the MIT license. These functions implement cryptographic processes used in decoding password protected pfx objects adhering to the pkcs12 standard as documented at

https://tools.ietf.org/html/rfc7292#appendix-B.2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BMPString

func BMPString(utf8String []byte) ([]byte, error)

BMPString computes the Basic Multilingual Plane (BMP) string of a []byte

func PBKDF

func PBKDF(hash func([]byte) []byte, u, v int, salt, password []byte, r int, ID byte, size int) (key []byte)

PBKDF implements RSA Labs' Password-Based Key Derivation Function

Types

This section is empty.

Jump to

Keyboard shortcuts

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