crypto

package
v3.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package crypto contains functions to help perform hashing and simple encryption operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PBKDF2

func PBKDF2(password, salt []byte, iter, keylen int, hashFunc crypto.Hash) ([]byte, error)

PBKDF2 - Run the Password-Based Key Derivation Function #2 as defined in RFC 8018 (PKCS #5 v2.1)

func StrToHash

func StrToHash(hash string) (crypto.Hash, error)

StrToHash - find a hash given a certain string

Types

This section is empty.

Jump to

Keyboard shortcuts

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