[Gambas-user] CryptoExample & gCrypto
Brant Wells
bwells at ...475...
Wed Jul 28 16:14:31 CEST 2004
Hey Daniel:
I agree completely. I think, though, that it will require some extra
coding on our part... Linux uses a variety of Character Sets... where
Windows uses ASCII or Unicode... Right?
I've tried to do some coding witht he CONV$ function, but to no
avail... It converts my string to unicode... but when I try to go back
to System.Charset, I get a Bad String Conversion or something... In
looking at the code that I'm using for the VB, I notice that the VB
converts the string to unicode and back...
On my system [Mandrake 10] the System.Charset="ISO-8859-1" ... I can
CONV$ from ISO8859-1 but I can't CONV$ back to it again.
If you [or anyone] has any ideas, please let me know...
Thanks!
~Brant
Daniel Oxley wrote:
>What would be a perfect solution would be to have them totally compatible
>with each other. Once proved that it is a true blowfish implementation we
>could even hassle Bruce Schneier (who designed it) to mention it on his
>website like the VB version!
>
>Daniel
>
>
>-----Original Message-----
>From: gambas-user-admin at lists.sourceforge.net
>[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells
>Sent: 27 July 2004 19:30
>To: gambas-user at lists.sourceforge.net
>Subject: Re: [Gambas-user] CryptoExample & gCrypto
>
>Hey Daniel:
>
>It's been more everybody else's efforts... I'm just putting it all
>together. ;-) ... It might be an inconsistency in the version of
>blowfish that I use, and the one that Leo ported from... I may take
>another whack at Blowfish, since I have discovered how to do 2d arrays
>in Gambas now [looking @ Leo's examples...]... Just one strange thing
>leads to another, this day in age!
>
>Daniel Oxley wrote:
>
>
>
>>Sounds great. I am sure a lot of people appreciate the effort you are
>>making!
>>
>>I would have thought though, that any string encoded using Blowfish could
>>
>>
>be
>
>
>>decrypted on any platform supporting blowfish? Much in the same way that I
>>can encrypt a message on Windows using PGP and GPG on Suse can decrypt it.
>>
>>So, dare I say it, if they are not compatible (your version and Leo's)
>>
>>
>there
>
>
>>may be a bug somewhere. The bigger problem might be tracing it!
>>
>>Daniel
>>
>>
>>-----Original Message-----
>>From: gambas-user-admin at lists.sourceforge.net
>>[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells
>>Sent: 27 July 2004 18:09
>>To: gambas-user at lists.sourceforge.net
>>Subject: Re: [Gambas-user] CryptoExample & gCrypto
>>
>>Hey Daniel:
>>
>>Leo had the code written in for that in his implementation of blowfish.
>>I haven't implemented it in gCrypto yet, due lack of time. That will be
>>coming in the next release. It should work on purdy much any machine
>>that has Gambas on it... so If you're stuck using another version of
>>linux, feel free to try it out and let me know... ;-)
>>
>>Also, I have done some testing... I am not sure whose implementation of
>>blowfish that Leo ported from [I found several versions for VB]... But
>>the VB code that I have, and the Gambas code that Leo wrote DO NOT
>>operate together... From the looks of it, they are two totally separate
>>monsters.
>>
>>How can you test if it is the blowfish encryption?? I have no clue....
>>Ha ha ha. I have the encryptions separated into their own classes, so
>>they do not interfere with one another, if that is what you mean. Check
>>out the CryptoExample... It reveals all... well... almost all.
>>
>>Let me know when you have time to check it!
>>
>>Thanks!
>>~Brant
>>
>>
>>
>>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
More information about the User
mailing list