gost34112012256

package
v0.0.0-...-0de9ac5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: MIT, GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

GOST R 34.11-2012 256-bit hash function. RFC 6986.

Index

Constants

View Source
const (
	BlockSize = gost34112012.BlockSize
	Size      = 32
)

Variables

This section is empty.

Functions

func New

func New() hash.Hash

Types

type KDF

type KDF struct {
	// contains filtered or unexported fields
}

func NewKDF

func NewKDF(key []byte) *KDF

func (*KDF) Derive

func (kdf *KDF) Derive(dst, label, seed []byte) (r []byte)

Jump to

Keyboard shortcuts

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