Returns the port number.
+ .. method:: ComboAddress:ipdecrypt(key) -> ComboAddress
+
+ Decrypt this IP address as described in https://medium.com/@bert.hubert/on-ip-address-encryption-security-analysis-with-respect-for-privacy-dabe1201b476
+
+ :param string key: A 16 byte key
+
+ .. method:: ComboAddress:ipencrypt(key) -> ComboAddress
+
+ Encrypt this IP address as described in https://medium.com/@bert.hubert/on-ip-address-encryption-security-analysis-with-respect-for-privacy-dabe1201b476
+
+ :param string key: A 16 byte key
+
.. method:: ComboAddress:isIPv4() -> bool
Returns true if the address is an IPv4, false otherwise
BOOST_CHECK_EQUAL(decrypted.toString(), p.first);
}
+ // test from Frank Denis' test.cc
ComboAddress ip("192.168.69.42"), out, dec;
string key2;
for(int n=0; n<16; ++n)