#include "frdi.h"
Functions | |
frdi_game_plaintext * | frdiGamePlaintextNew (frdi_app *self, frdi_game_sharedtext *sharedtext, frdi_game_usertext *usertext) |
frdi_game_plaintext * | frdiGamePlaintextFromString (frdi_app *self, char *text) |
char * | frdiGamePlaintextToString (frdi_app *self, frdi_game_plaintext *plaintext) |
frdi_game_sharedtext * | frdiGamePlaintextGetSharedtext (frdi_app *self, frdi_game_plaintext *plaintext) |
frdi_game_usertext * | frdiGamePlaintextGetUsertext (frdi_app *self, frdi_game_plaintext *plaintext) |
frdi_game_digest * | frdiGamePlaintextGetDigest (frdi_app *self, frdi_game_plaintext *plaintext) |
int | frdiGamePlaintextVerifyDigest (frdi_app *self, frdi_game_plaintext *plaintext, frdi_game_digest *digest) |
|
see Game Pattern plaintext = sharedtext + usertext |
|
see Game Pattern |
|
see Game Pattern |
|
see Game Pattern |
|
see Game Pattern |
|
see Game Pattern digest = hash ( plaintext ) |
|
see Game Pattern returns 1 if it is the correct digest for this plaintext, 0 otherwise |