Blowfish.e versus decimal points

new topic     » topic index » view thread      » older message » newer message

I'm thinking this is a bug, but I'm willing to be convinced otherwise.

InputSequence =
{{"Name",{1.234,1.345,1.456}},{"Name2",{1.2234,1.2345,1.2456}}}

After Encrypting and Decrypting (using the Blowfish_Encipher_Sequence and
Blowfish_Decipher_Sequence methods), the sequence is:

OutputSequence = 
{{"Name",{1,1,1}},{"Name2",{1,1,1}}}

If I try
InputSequence = 
{{"Name",{1234,1345,1456}},{"Name2",{12234,12345,12456}}}

Then (it works) with:

OutputSequence = 
{{"Name",{1234,1345,1456}},{"Name2",{12234,12345,12456}}}


Obviously, I can work with whole numbers and divide as necessary, but I'm
wondering if anybody has run into this and knows the solution/work around.

I'm using blowfish.zip from the archive, which includes this line in
documentation file:

Updated 28/1 2004

Along with Euphoria 3.1.1 and Win32Lib (the latest version).  I'm generating the
program in Enhanced IDE v1.0.3

Other things I've tried:

1) Different encryption methods (0 or 1) - neither works
2) Direct encryption to files (Set_Encrypt(ENC_ON))

Thanks

Mike

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu