Queries on Encrypted Data Library

To run any of the crypto functions, you must first set your QED Context. The QED Context is used to specify which algorithm you would like to use. Right now, only the TYPE1 algorithm is implemented.

QED_CTX c;
int QED_Init(QED_CTX *c, QED_TYPE TYPE1);
Once this is done, you can proceed with setup, encrypt, gentoken, or query.