[Gambas-user] {Filename?} Blowfish Modules

Brant Wells bwells at ...475...
Fri Jul 23 16:20:11 CEST 2004


Hi Again...
First off My appologies to Craig Packard who did the excellent work on 
the Base64 module.  Works like a charm! ;-)

The school's email scanner threw out the vbscript file, because it was a 
.zip...  It's attached now as a tarball for those of you who want to 
look at it...

Thanks again... and Sorry...
~Brant

Brant Wells wrote:

> 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 --------------
A non-text attachment was scrubbed...
Name: BlowfishEX.tar.gz
Type: application/x-gzip
Size: 122880 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040723/55211c20/attachment.bin>


More information about the User mailing list