hashas

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Variant

type Variant byte
const (
	Undefined Variant = iota
	Md5
	Sha1
	Sha256
	Sha512
)

func (*Variant) AsBasicByteEnumContractsBinder

func (it *Variant) AsBasicByteEnumContractsBinder() coreinterface.BasicByteEnumContractsBinder

func (*Variant) AsBasicEnumContractsBinder

func (it *Variant) AsBasicEnumContractsBinder() coreinterface.BasicEnumContractsBinder

func (*Variant) HexOfJsonResult added in v0.4.0

func (it *Variant) HexOfJsonResult(
	result *corejson.Result,
) *errstr.Result

func (Variant) IsMd5

func (it Variant) IsMd5() bool

func (Variant) IsSha1

func (it Variant) IsSha1() bool

func (Variant) IsSha256

func (it Variant) IsSha256() bool

func (Variant) IsSha512

func (it Variant) IsSha512() bool

func (Variant) IsUndefined

func (it Variant) IsUndefined() bool

func (*Variant) MarshalJSON

func (it *Variant) MarshalJSON() ([]byte, error)

func (*Variant) MaxByte

func (it *Variant) MaxByte() byte

func (*Variant) MinByte

func (it *Variant) MinByte() byte

func (*Variant) Name

func (it *Variant) Name() string

func (Variant) NewHash

func (it Variant) NewHash() (hash.Hash, *errorwrapper.Wrapper)

func (Variant) RangeNamesCsv added in v0.3.8

func (it Variant) RangeNamesCsv() string

func (*Variant) RangesByte

func (it *Variant) RangesByte() []byte

func (*Variant) String

func (it *Variant) String() string

func (*Variant) StringSumOf

func (it *Variant) StringSumOf(
	inputBytes []byte,
) *errstr.Result

func (*Variant) StringSumOfFile added in v0.3.6

func (it *Variant) StringSumOfFile(
	fileName string,
) *errstr.Result

func (*Variant) SumOf

func (it *Variant) SumOf(
	inputBytes []byte,
) *errbyte.Results

func (*Variant) SumOfErrorBytes

func (it *Variant) SumOfErrorBytes(
	errBytes *errbyte.Results,
) *errbyte.Results

func (*Variant) SumOfFile added in v0.2.9

func (it *Variant) SumOfFile(
	fileName string,
) *errbyte.Results

func (*Variant) SumOfJsonResult added in v0.4.0

func (it *Variant) SumOfJsonResult(
	result *corejson.Result,
) *errbyte.Results

func (*Variant) ToNumberString

func (it *Variant) ToNumberString() string

func (Variant) TypeName added in v0.3.8

func (it Variant) TypeName() string

func (*Variant) UnmarshalJSON

func (it *Variant) UnmarshalJSON(data []byte) error

func (*Variant) UnmarshallEnumToValue

func (it *Variant) UnmarshallEnumToValue(jsonUnmarshallingValue []byte) (byte, error)

func (Variant) Value

func (it Variant) Value() byte

func (Variant) ValueByte

func (it Variant) ValueByte() byte

Jump to

Keyboard shortcuts

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