dk

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrKeySize = "key size is wrong"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DKey

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

func NewDKey

func NewDKey(size int) (key *DKey, err error)

func (*DKey) CheckBytes

func (k *DKey) CheckBytes(x []byte) bool

func (*DKey) CheckString

func (k *DKey) CheckString(x string) bool

func (*DKey) GetBytes

func (k *DKey) GetBytes() []byte

func (*DKey) GetString

func (k *DKey) GetString() string

Jump to

Keyboard shortcuts

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