Program apps/garbled/examples/montgomery.mpcl
RSA encryption with Montgomery modular multiplication.
./garbled -e -v -i 0x321af130 examples/montgomery.mpcl
./garbled -v -i 0x6d7472,9,0xd60b2b09,0x10001 examples/montgomery.mpcl
Constants
This section is empty.
Variables
This section is empty.
Functions
func Decrypt
func Encrypt
func main
func main(g Garbler, privShare Size) (
uint,
uint)
Types
type Garbler struct {
msg Size
privShare Size
pubN Size
pubE Size
}