Cryptography Reference
In-Depth Information
B.2 Input/Output, Conversion, Comparison: Friend
Functions
void
fswap (LINT& a, LINT& b);
exchange of a and b
UCHAR*
lint2byte (const LINT& a,
int* len);
transformation of a into a byte
vector, output of length in len ,
according to IEEE P1363, signif-
icance of bytes increasing from
left to right
char*
lint2str (const LINT& a,
USHORT base,
int showbase);
representation of a as character
string to base base , with prefix 0x ,
or 0b if showbase > 0
ostream&
LintBin (ostream& s);
ostream manipulator for binary
representation of LINT integers
ostream&
LintDec (ostream& s);
ostream manipulator for decimal
representation of LINT integers
ostream&
LintHex (ostream& s);
ostream manipulator for hex rep-
resentation of LINT integers
ostream&
LintLwr (ostream& s);
ostream manipulator for use of
lowercase letters in hex represen-
tation of LINT integers
ostream&
LintNobase (ostream& s);
ostream manipulator for omis-
sion of a prefix 0x or 0b in hex
or binary representation of LINT
integers
ostream&
LintNolength (ostream& s);
manipulator for the omission of
binary length in the output LINT
integers
ostream&
LintOct (ostream& s);
ostream manipulator for the octal
representation of LINT integers
 
Search WWH ::




Custom Search