package k12

import "github.com/cloudflare/circl/xof/k12"

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

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)

Source Files

k12.go

Version
v1.6.1 (latest)
Published
Apr 9, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
21 hours ago

Tools for package owners.