|
GClasses
|
This is a symmetric-key block-cypher. It utilizes a 2048-byte internal state which is initialized using the passphrase. It uses repeated applications of sha-512 to advance the internal state, and to generate an 1024-byte pad that it xor's with your data to encrypt or decrypt it. Warning: You use this algorithm at your own risk. Many encryption algorithms eventually turn out to be insecure, and to my knowledge, this algorithm has not yet been extensively scrutinized.
#include <GCrypto.h>
Public Member Functions | |
| GCrypto (const char *pPassphrase, size_t nPassphraseSize) | |
| ~GCrypto () | |
| void | doChunk (char *pData, size_t nDataSize) |
Static Public Member Functions | |
| static void | test () |
| GClasses::GCrypto::GCrypto | ( | const char * | pPassphrase, |
| size_t | nPassphraseSize | ||
| ) |
| GClasses::GCrypto::~GCrypto | ( | ) |
| void GClasses::GCrypto::doChunk | ( | char * | pData, |
| size_t | nDataSize | ||
| ) |
|
static |