Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ciphertext ¶
type Ciphertext struct {
// L = nonce⋅G
L curve.Point
// M = message⋅G + nonce⋅public
M curve.Point
}
func Empty ¶
func Empty(group curve.Curve) *Ciphertext
func (Ciphertext) Domain ¶
func (Ciphertext) Domain() string
func (*Ciphertext) Valid ¶
func (c *Ciphertext) Valid() bool
Valid returns true if the ciphertext passes basic validation.
Click to show internal directories.
Click to hide internal directories.