internal

package
v0.0.0-...-a536860 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMalformedCipher = fmt.Errorf("ciphertext %s", malformedStr)

ErrMalformedCipher is an error for ciphertext.

View Source
var ErrMalformedDecKey = fmt.Errorf("decryption key %s", malformedStr)

ErrMalformedDecKey is an error for derived key.

View Source
var ErrMalformedInput = fmt.Errorf("input data %s", malformedStr)

ErrMalformedInput is an error for input data.

View Source
var ErrMalformedPubKey = fmt.Errorf("public key %s", malformedStr)

ErrMalformedPubKey is an error for public key.

View Source
var ErrMalformedSecKey = fmt.Errorf("secret key %s", malformedStr)

ErrMalformedSecKey is an error for secret key.

Functions

func ModExp

func ModExp(g, x, m *big.Int) *big.Int

ModExp calculates g^x in Z_m*, even if x < 0.

Types

This section is empty.

Directories

Path Synopsis
Package dlog includes algorithms for computing discrete logarithms.
Package dlog includes algorithms for computing discrete logarithms.

Jump to

Keyboard shortcuts

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