hash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hash

type Hash struct {
	// contains filtered or unexported fields
}

Hash struct represent string value as a hash or as a decimal

func NewHash

func NewHash(value []byte, logger *log.Logger, debug bool) (Hash, error)

NewHash creates a new OBADA hash

func (Hash) GetDec

func (h Hash) GetDec() uint64

GetDec returns decimal value

func (Hash) GetHash

func (h Hash) GetHash() string

GetHash returns hash string

Jump to

Keyboard shortcuts

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