blake2s

package
v0.0.0-...-5793f50 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Copyright (c) 2023 Tracy-Tzu under the MIT license go bindings for the blake2s algorithm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(param *Param) hash.Hash

func New_Keyed

func New_Keyed(key []byte, digest_size int) hash.Hash

func Sum256

func Sum256(data []byte) [32]byte

Types

type Param

type Param struct {
	Salt, Personal [8]byte
	Tree           *Tree
	Size           byte
}

type Tree

type Tree struct {
	Offset, Max_leaf_size uint32

	Fanout, Max_depth, Depth, Inner_size byte
	Last_node                            bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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