[Gambas-user] {Filename?} Blowfish Modules

Brant Wells bwells at ...475...
Fri Jul 23 15:58:05 CEST 2004


Warning: This message has had one or more attachments removed
Warning: (BlowfishEx.exe, BlowfishEX.zip, Blowfish.exe).
Warning: Please read the "VirusWarning.txt" attachment(s) for more information.

Hi All...

I finally found time to work on the Blowfish modules for Gambas...  I 
got the code ported,but lo-and-behold, there's a problem somewhere that 
I can't seem to find...

What I do, is I encrypt the string "Simple Test" using the key 
"ABCDEFFE"...  and when I decrypt it, it returns "pimpTe T"

I know that the code should only return "Simple T" as the return...  
That's because I haven't implemented any kind of byte padding yet...  
I've attached the VB Code that I'm trying to port...  I appologize for 
the bad coding, as well...  I haven't got a hold of how you do 2d arrays 
in Gambas yet...  so as you'll notice, I've got my own way of working 
around it...

Any posts as to how to do 2d Arrays would be helpful!  I have attached 
the VB source that I am porting from...

In the two textboxes on my form...  The first one, you enter a Key 
string...  It can be hex, or it can be plain text...  The second text 
box returns the encrypted string...  It prints the decoded text in the 
Console(Debug?) window when you click the Decrypt Button... Any 
assistance would be great.

I'd like to take the Radix64 code and  theCRC code submitted by Leo B., 
and the Base64 code and compile them all into a gambas module...  When I 
get the Blowfish finished, I will add it in.

Thanks in advance!
~Brant

-------------- next part --------------
This is a message from the MailScanner E-Mail Virus Protection Service
----------------------------------------------------------------------
The original e-mail attachment "BlowfishEX.zip"
is on the list of unacceptable attachments for this site and has been
replaced by this warning message.

If you wish to receive a copy of the original attachment, please
e-mail helpdesk and include the whole of this message
in your request. Alternatively, you can call them, with
the contents of this message to hand when you call.

At Fri Jul 23 09:50:16 2004 the virus scanner said:
   Executable DOS/Windows programs are dangerous in email (BlowfishEx.exe)
   No programs allowed (BlowfishEx.exe)
   Executable DOS/Windows programs are dangerous in email (Blowfish.exe)
   No programs allowed (Blowfish.exe)

Note to Help Desk: Look on the MailScanner in /var/spool/MailScanner/quarantine/20040723 (message i6NDo92a007680).
-- 
Postmaster
MailScanner thanks transtec Computers for their support
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gBlowfish-0.0.1.tar.gz
Type: application/x-gzip
Size: 10308 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040723/3c052cde/attachment.bin>


More information about the User mailing list