sha256

package
v0.0.0-...-fab57c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package sha256 provides a mockable wrapper for crypto/sha256.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) New

func (*Impl) New() hash.Hash

func (*Impl) New224

func (*Impl) New224() hash.Hash

func (*Impl) Sum224

func (*Impl) Sum224(data []byte) [28]byte

func (*Impl) Sum256

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

type Interface

type Interface interface {
	New() hash.Hash
	New224() hash.Hash
	Sum224(data []byte) [28]byte
	Sum256(data []byte) [32]byte
}

Jump to

Keyboard shortcuts

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