Documentation ¶
Index ¶
- func DecryptByOwner(A curve.Point, a *big.Int, decryptFunc DecryptClosure) (err error)
- func DecryptByReceiver(APrime curve.Point, b *big.Int, decryptFunc DecryptClosure) (err error)
- func Encrypt(publicKey curve.Point, encryptFunc EncryptClosure) (A curve.Point, err error)
- func GenerateReKey(a, b *big.Int) (rkAB curve.Point)
- func ReEncrypt(A, rkAB curve.Point) (APrime curve.Point)
- type DecryptClosure
- type EncryptClosure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptByOwner ¶
func DecryptByReceiver ¶
Types ¶
type DecryptClosure ¶
func NewDecryptClosure ¶
func NewDecryptClosure(input io.Reader, output io.Writer) DecryptClosure
type EncryptClosure ¶
func NewEncryptClosure ¶
func NewEncryptClosure(input io.Reader, output io.Writer) EncryptClosure
Click to show internal directories.
Click to hide internal directories.