internal

package
v0.0.0-...-8a2c02c Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MalformedCipher = fmt.Errorf("ciphertext %s", malformedStr)
View Source
var MalformedDecKey = fmt.Errorf("decryption key %s", malformedStr)
View Source
var MalformedInput = fmt.Errorf("input data %s", malformedStr)
View Source
var MalformedPubKey = fmt.Errorf("public key %s", malformedStr)
View Source
var MalformedSecKey = fmt.Errorf("secret key %s", malformedStr)

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
Algorithms for computing discrete logarithms.
Algorithms for computing discrete logarithms.

Jump to

Keyboard shortcuts

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