hmac

package
v0.0.0-...-4fd71c7 Latest Latest
Warning

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

Go to latest
Published: May 24, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package hmac implements HMAC algorithm following JSON Web Algorithms (JWA) directives.

Index

Constants

View Source
const (
	// MinimumKeySize defines the minimum recommended key size for symmetric
	// keys.
	MinimumKeySize = 128
)

Variables

This section is empty.

Functions

func New256

func New256() jwa.Algorithm

New256 returns a new HS256 cryptographic algorithm.

func New384

func New384() jwa.Algorithm

New384 returns a new HS384 cryptographic algorithm.

func New512

func New512() jwa.Algorithm

New512 returns a new HS512 cryptographic algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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