Encrypted Read and Data - ERead and EData?

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Encrypted Read and Data - ERead and EData?

Post by DoubleDutch »

An encrypted read/data command would be really handy for easily stopping script kiddies from altering text and other data.

EG:

Code: Select all

ERead string$

.
.
.
DataSection
  EData "This text is encrypted at compile time"

EndDataSection
The data could be encypted by a random seed at compile time, it could then use the byte offset from "DataSection" as the key to encypting/decrypting each byte? This way it would work for all data types.

Fred/Freak: I know your both really busy, but this would be great for V4.4 and I don't think any other language has this feature built-in?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system