k12

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: BSD-3-Clause Imports: 3 Imported by: 8

Documentation

Overview

k12 implements the KangarooTwelve XOF.

KangarooTwelve is being standardised at the CFRG working group of the IRTF. This package implements draft 10.

https://datatracker.ietf.org/doc/draft-irtf-cfrg-kangarootwelve/10/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draft10Sum

func Draft10Sum(hash []byte, msg []byte, c []byte)

Types

type State

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

func NewDraft10

func NewDraft10(c []byte) State

NewDraft10 creates a new instance of Kangaroo12 draft version -10.

func (*State) Clone

func (s *State) Clone() State

func (*State) Read

func (s *State) Read(p []byte) (int, error)

func (*State) Reset

func (s *State) Reset()

func (*State) Write

func (s *State) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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