pkcspbkdf

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Md5Size = md5.Size
View Source
const Sha1Size = sha1.Size
View Source
const Sha256Size = sha256.Size

Variables

This section is empty.

Functions

func Md5Sum

func Md5Sum(in []byte) []byte

Md5Sum returns the MD5 hash of in.

func PKCS12PBKDF

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

func PKCS5PBKDF1

func PKCS5PBKDF1(hash func([]byte) []byte, salt, password []byte, r int, size int) (key []byte)

func Sha1Sum

func Sha1Sum(in []byte) []byte

Sha1Sum returns the SHA-1 hash of in.

func Sha256Sum

func Sha256Sum(in []byte) []byte

Sha256Sum returns the SHA-256 hash of in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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