Basic Encryptation

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Num3.


Hi all,

It would be nice to have "basic" :) encryptation for strings and memory on the cipher section, it's just a few extras lines of code...



--
Kind Regards

Rui Carvalho
[DURON 1K - 256Mb - 40Gb - GFORCE MX2 64Mb - W2K PRO]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Pupil.

You can do basic encryptation easily by just xor:ing with a key and as you said it's only a couple of lines so why not do it yourself, much more satisfying :wink:
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by blueb.

Here's a pretty complete list of algorithms, but it's based on another BASIC, so you'll need to convert to PB.

http://www.pbcrypto.com/pbcrypto.php

Regards,
--blueb
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Num3.
Originally posted by Pupil

You can do basic encryptation easily by just xor:ing with a key and as you said it's only a couple of lines so why not do it yourself, much more satisfying :wink:
LOL, i've left XOR and DIV encryptation long time ago.... I was talking about something more complex, not any blowfish or serpentine stuff but something in between :)

--
Kind Regards

Rui Carvalho
[DURON 1K - 256Mb - 40Gb - GFORCE MX2 64Mb - W2K PRO]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Num3.
Originally posted by blueb

Here's a pretty complete list of algorithms, but it's based on another BASIC, so you'll need to convert to PB.

http://www.pbcrypto.com/pbcrypto.php

Regards,
--blueb
Excelent site! Lot's of stuff there...
I had written most of them for VB6 :) already... ehehehe
but there's new stuff that i'm going to take a look at to get more ideias...

thanks!


--
Kind Regards

Rui Carvalho
[DURON 1K - 256Mb - 40Gb - GFORCE MX2 64Mb - W2K PRO]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Pupil.
Originally posted by Num3
Originally posted by Pupil

You can do basic encryptation easily by just xor:ing with a key and as you said it's only a couple of lines so why not do it yourself, much more satisfying :wink:
LOL, i've left XOR and DIV encryptation long time ago.... I was talking about something more complex, not any blowfish or serpentine stuff but something in between :)
I thought by "basic" you meant simple, and what i suggested is really simple :wink:
Post Reply