Encrypt/Decrypt

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Encrypt/Decrypt

Post by Paul »

If anyone needs to encrypt/decrypt strings or files, I have posted a new PureBasic ASM Lib on the Resources Site.

It actually comes in 2 flavors... a PB Lib and a DLL for those who might need encryption to use in other languages.
Image Image
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

sweeeeeet, thank ye! :)
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Paul, seems to do pretty well with a 25 meg file.. Larger ones to test yet!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

Anyone using the RC4_Lib User Library should update to the latest version (dated Jan3/04).

There seemed to be the occasional string overflow when using the CryptString() and CryptHexFile() commands. This problem has been fixed in this update.
Image Image
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Thanks. :)
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Does this Lib work for the Linux version of PB? If not, are you planning on releasing a linux version?
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

PB Windows <> PB Linux ... therefore Libs for PB Windows do not work with PB Linux, they must be made specifically for it.

We use Windows OS here as do all our customers so there is no reason for us to spend time with Linux OS.

Sorry ;)
Image Image
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

I am generally assuming that the code for the library just need to be recompiled in Linux, if it doesnt make any use of Win APIs :) I will be more then willing to do that for you, as I will have Linux up and running this Sunday. That, and I really need either code for or a library for RC4 in Linux :)
TronDoc
Enthusiast
Enthusiast
Posts: 310
Joined: Wed Apr 30, 2003 3:50 am
Location: 3DoorsDown

Post by TronDoc »

Let us know how it goes.
I am too new to Linux and too poor
a PureBASIC programmer to attempt it. :roll:
peace
[pI 166Mhz 32Mb w95]
[pII 350Mhz 256Mb atir3RagePro WinDoze '98 FE & 2k]
[Athlon 1.3Ghz 160Mb XPHome & RedHat9]
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

It should be nothing more then a simple compile, but on an Linux system, as Linux PB has caught up to Windows PB, in terms of all the features, etc.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

So much for that. Lycoris sucks hardcore. They provide you with a non-bootable ISO, and no instructions. Not to mention their community is useless for answers. Anybody know of any decent linux distrobution that actually provides an bootable iso for download? Not to mention aimed for the desktop userbase?
Manne
User
User
Posts: 30
Joined: Mon Apr 28, 2003 8:49 pm

Post by Manne »

Take a look here: http://www.linuxiso.org/

Manne
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

That's where I downloaded Lycoris at :) I'll search through other distros.. maybe I'll get lucky.
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post by LarsG »

maybe this will be of interest?!?
http://www.dynebolic.org/

-Lars

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

I kind of like Mandrake... It's in linuxiso.org
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Post Reply