common

Undocumented in source.

Members

Static functions

encrypt_plaintext
bool encrypt_plaintext(peerkey_s peerkey, ubyte[] str_plaintext, Ciphertext ciphertext)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypted_decode
MessageBuffer encrypted_decode(MessageBuffer message, peerkey_s peer_key, bool isClient)
Undocumented in source. Be warned that the author may not have intended to support it.
encrypted_encode
MessageBuffer encrypted_encode(MessageBuffer message, ownkey_s client_key, peerkey_s server_key)
Undocumented in source. Be warned that the author may not have intended to support it.
generate_token
bool generate_token(ubyte[CRYPTO_EC_PUB_KEY_LEN] ecdh_pub_key, Token token)
Undocumented in source. Be warned that the author may not have intended to support it.
keyCalculate
bool keyCalculate(ownkey_s ownkey, peerkey_s peerkey)
Undocumented in source. Be warned that the author may not have intended to support it.
verify_token
bool verify_token(ubyte[CRYPTO_EC_PUB_KEY_LEN] ecdh_pub_key, Token token)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta