EspKline Details

The EspKline DLLs and samples are complete!  Download espk.exe. There, you will find our NDA and purchase options for our encryption libraries.

This is the basic algorithm for encoding and decoding with ESpKline.

perculator is a dword or longint.

pick,pick2,pick3 are 8 bit bytes.

password is a pchar, or array of 8 bit bytes tracked by a word index.

mask is an 8 bit byte.

perculator is assigned pick2 + a random word

the random seed generator is assigned the value of perculator.

To Encode...BEGIN (is mask greater than zero?)

1. value pick is assigned ordinal value of character + mask.

2. pick3 is assigned ordinal value of index of password xored with an

8 bit byte randomly generated.

3. password byte at index is assigned character value of pick3.

4. perculator is xored with value of pick3.

5. pick2 is assigned a random byte xored with ordinal value of

password at index.

6. pick is xored with pick2.

END (encode)

To Decode...BEGIN (else...mask is less than zero)

perform step 1 in encode, BUT don't add mask.

perform steps 2 through 5 in Encode as shown.

perform step 6 in encode, BUT add value of mask as well.

END (decode)

At end of byte encode/decode/Always.

return character value of pick...that's your value.

shift perculator left once.

increment password index, and if its larger than length of password,

reset it.

return.

ps. Method of PRNG, initilization of perculator, initialization of the

pick2 value and the values you chose for mask to encode and decode

give the most variability to Espkline.