void NetCryptDecrypt(void *pData, int nSize)
Decrypt the whole eight-byte blocks of a buffer in place, from the stored initial vector.
void NetCryptInit()
Register Blowfish and start the shared CBC state with the default key and initial vector.
void NetCryptSetKey(const unsigned char pKey[kNetCryptKeySize])
Replace the stored key and initial vector.
constexpr int kNetCryptKeyWords
The words NetCryptMakeKey() draws.
Definition netcrypt.h:13
void NetCryptMakeKey(unsigned char pKey[kNetCryptKeySize])
Draw a random key and initial vector for NetCryptSetKey().
void NetCryptEncrypt(void *pData, int nSize)
Encrypt the whole eight-byte blocks of a buffer in place, from the stored initial vector.
constexpr int kNetCryptKeySize
Blowfish in CBC mode over the packets of an online session.
Definition netcrypt.h:10