Documentation ¶ Index ¶ func Decrypt(decrypter Decrypter, s string) (string, error) type Decrypter func PrepareDecrypter(pubKey string, privKey string) (Decrypter, error) type Encrypter func PrepareEncrypter(pubKey string) (Encrypter, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(decrypter Decrypter, s string) (string, error) Types ¶ type Decrypter ¶ type Decrypter = *ejsonCrypto.Decrypter func PrepareDecrypter ¶ func PrepareDecrypter(pubKey string, privKey string) (Decrypter, error) type Encrypter ¶ type Encrypter = *ejsonCrypto.Encrypter func PrepareEncrypter ¶ func PrepareEncrypter(pubKey string) (Encrypter, error) Source Files ¶ View all Source files crypto.go Click to show internal directories. Click to hide internal directories.