Documentation
Tagion
Cipher
tagion
crypto
Cipher
@
safe
struct
Cipher {
enum
CRC_SIZE
;
static
const
(
CipherDocument
)
encrypt
(const(SecureNet) net, const(Pubkey) pubkey, Document msg);
static
const
(
Document
)
decrypt
(const(SecureNet) net, const(CipherDocument) cipher_doc);
}
Members
Static functions
decrypt
const
(
Document
)
decrypt
(const(SecureNet) net, const(CipherDocument) cipher_doc)
encrypt
const
(
CipherDocument
)
encrypt
(const(SecureNet) net, const(Pubkey) pubkey, Document msg)
tagion
crypto
Cipher
structs
Cipher