util

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(x, y *big.Int) *big.Int

func And

func And(x, y *big.Int) *big.Int

func IsEcPointInfinity

func IsEcPointInfinity(x, y *big.Int) bool

func Lsh

func Lsh(x *big.Int, n uint) *big.Int

func Mod

func Mod(x, y *big.Int) *big.Int

func ModInverse

func ModInverse(x, y *big.Int) *big.Int

func Mul

func Mul(x, y *big.Int) *big.Int

func PKCS5Padding

func PKCS5Padding(src []byte, blockSize int) []byte

func PKCS5UnPadding

func PKCS5UnPadding(src []byte) []byte

func SetBit

func SetBit(x *big.Int, i int, b uint) *big.Int

func Sub

func Sub(x, y *big.Int) *big.Int

func ZForAffine

func ZForAffine(x, y *big.Int) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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