Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crypter ¶
type Crypter interface { Encrypt(plaintext []byte) (string, error) Decrypt(payload string) ([]byte, error) }
func NewXChacha20Poly1305 ¶
NewXChacha20Poly1305 returns a new XChacha20Poly1305 crypt instance.
type XChacha20Poly1305 ¶
type XChacha20Poly1305 struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.