FoxCrypto Interface
Cryto++ Class | FoxCrypto Function |
Base64Encoder |
lcEncoded = Base64Encoder( tcBinary, tlInsertLineBreaks ) |
lnHandle = Base64EncoderCreate( tlInsertLineBreaks ) |
llSuccess = Base64EncoderDestroy( tnHandle ) |
lnSize = Base64EncoderPut( tnHandle, tcBinary ) |
llSuccess = Base64EncoderClose( tnHandle ) |
lnSize = Base64EncoderMaxRetrievable( tnHandle ) |
lcEncoded = Base64EncoderGet( tnHandle, tnSize ) |
|
Base64Decoder |
lcBinary = Base64Decoder( tcEncoded ) |
lnHandle = Base64DecoderCreate() |
llSuccess = Base64DecoderDestroy( tnHandle ) |
lnSize = Base64DecoderPut( tnHandle, tcEncoded ) |
llSuccess = Base64DecoderClose( tnHandle ) |
lnSize = Base64DecoderMaxRetrievable( tnHandle ) |
lcBinary = Base64DecoderGet( tnHandle, tnSize ) |
|
Gzip |
lcGzipped = GzipEncoder( tcBinary, tnDeflateLevel ) |
lnHandle = GzipCreate( tnDeflateLevel ) |
llSuccess = GzipDestroy( tnHandle ) |
lnSize = GzipPut( tnHandle, tcBinary ) |
llSuccess = GzipClose( tnHandle ) |
lnSize = GzipMaxRetrievable( tnHandle ) |
lcGzipped = GzipGet( tnHandle, tnSize ) |
|
Gunzip |
lcBinary = Gunzip( tcGzipped ) |
lnHandle = GunzipCreate() |
llSuccess = GunzipDestroy( tnHandle ) |
lnSize = GunzipPut( tnHandle, tcGzipped ) |
llSuccess = GunzipClose( tnHandle ) |
lnSize = GunzipMaxRetrievable( tnHandle ) |
lcBinary = GunzipGet( tnHandle, tnSize ) |
|
HexEncoder |
lcEncoded = HexEncoder( tcBinary, tlUpperCase ) |
lnHandle = HexEncoderCreate( tlUpperCase ) |
llSuccess = HexEncoderDestroy( tnHandle ) |
lnSize = HexEncoderPut( tnHandle, tcBinary ) |
llSuccess = HexEncoderClose( tnHandle ) |
lnSize = HexEncoderMaxRetrievable( tnHandle ) |
lcEncoded = HexEncoderGet( tnHandle, tnSize ) |
|
HexDecoder |
lcBinary = HexDecoder( tcEncoded ) |
lnHandle = HexDecoderCreate() |
llSuccess = HexDecoderDestroy( tnHandle ) |
lnSize = HexDecoderPut( tnHandle, tcEncoded ) |
llSuccess = HexDecoderClose( tnHandle ) |
lnSize = HexDecoderMaxRetrievable( tnHandle ) |
lcBinary = HexDecoderGet( tnHandle, tnSize ) |
|
ZlibCompressor |
lcCompressed = ZlibCompressor( tcBinary, tnDeflateLevel ) |
lnHandle = ZlibCompressorCreate( tnDeflateLevel ) |
llSuccess = ZlibCompressorDestroy( tnHandle ) |
lnSize = ZlibCompressorPut( tnHandle, tcBinary ) |
llSuccess = ZlibCompressorClose( tnHandle ) |
lnSize = ZlibCompressorMaxRetrievable( tnHandle ) |
lcCompressed = ZlibCompressorGet( tnHandle, tnSize ) |
|
ZlibDecompressor |
lcBinary = ZlibDecompressor( tcCompressed ) |
lnHandle = ZlibDecompressorCreate() |
llSuccess = ZlibDecompressorDestroy( tnHandle ) |
lnSize = ZlibDecompressorPut( tnHandle, tcCompressed ) |
llSuccess = ZlibDecompressorClose( tnHandle ) |
lnSize = ZlibDecompressorMaxRetrievable( tnHandle ) |
lcBinary = ZlibDecompressorGet( tnHandle, tnSize ) |
|
CRC32 |
lcCode = CRC32( tcBinary ) |
lnHandle = CRC32Create() |
llSuccess = CRC32Destroy( tnHandle ) |
lnSize = CRC32DigestSize() |
lnSize = CRC32Update( tnHandle, tcBinary ) |
lcCode = CRC32Final( tnHandle ) |
|
MD5 |
lcCode = MD5( tcBinary ) |
lnHandle = MD5Create() |
llSuccess = MD5Destroy( tnHandle ) |
lnSize = MD5DigestSize() |
lnSize = MD5Update( tnHandle, tcBinary ) |
lcCode = MD5Final( tnHandle ) |
|