saltedkey

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const SaltSize = 20

SaltSize is the size (in bytes) of the salt word

Variables

This section is empty.

Functions

func SaltBlindPubKey

func SaltBlindPubKey(pubKey *blind.PublicKey, salt []byte) (*blind.PublicKey, error)

SaltBlindPubKey returns the salted blind public key of pubKey applying the salt.

func SaltECDSAPubKey

func SaltECDSAPubKey(pubKey *ecdsa.PublicKey, salt []byte) (*ecdsa.PublicKey, error)

SaltECDSAPubKey returns the salted plain public key of pubKey applying the salt.

Types

This section is empty.

Jump to

Keyboard shortcuts

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