pkcrypto

package
v0.0.0-...-c773ea3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ed25519 ed25519Impl

Functions

This section is empty.

Types

type PKCrypto

type PKCrypto interface {
	NewKey(options ...any) crypto.PrivateKey
	Sign(k crypto.PrivateKey, message []byte, h func() hash.Hash) ([]byte, error)
	Verify(k crypto.PublicKey, sig []byte, message []byte, opts ...any) (bool, error)
}

Jump to

Keyboard shortcuts

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