Main Page   File List   File Members   Related Pages  

frdi_game_outcome.c File Reference

convert inputs to outputs More...

#include "frdi.h"

Functions

char * frdiBignumDisplay (frdi_app *self, frdi_bigint *num)
char * frdiPlaintextDisplay (frdi_app *self, char *plaintext)


Detailed Description

convert inputs to outputs

Author:
Douglas Reay <douglas-legal@reay.org>
Warning:
plaintext = sharedtext + usertext sharedtext = hostid : gameid : timeid : ( usertext ) modulo numberOfOutcomes = input 0 <= usertext <= ( ( 2 ^ 64 ) - 1 )


Function Documentation

char* frdiBignumDisplay frdi_app *    self,
frdi_bigint *    num
 

a big integer as a string

char* frdiPlaintextDisplay frdi_app *    self,
char *    plaintext
 

a string as a string


Generated on Wed Aug 18 13:23:58 2004 for Project Fairdice by doxygen1.2.18