...

Package k12

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

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/

func Draft10Sum

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

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)