<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>25 Nov 2015 06:01:00 Z</lastBuildDate><pubDate>25 Nov 2015 06:01:00 Z</pubDate><description>Hi all,&#13;
&#13;
I plan on encrypting all of my data files with AES 128. That takes care of data on the disk. However, how would I encrypt data in memory to guard against RAM scraping techniques?&#13;
&#13;
Initial thought would be to use the CryptStandard example in Help and try to adapt it to strings... but I really don't know for sure.&#13;
&#13;
sMessage is Buffer = "Message to encrypt"&#13;
bufKey is Buffer = HashString(HA_MD5_128, "password")&#13;
bufEncrypt is Buffer = CryptStandard(sMesssage, bufKey, cryptAES128)&#13;
// Decryption&#13;
sResult is Buffer = UncryptStandard(bufEncrypt, bufKey, cryptAES128)&#13;
Info(sResult)&#13;
&#13;
Thanks, Art&#13;
&#13;
PS: Remember, just because you are paranoid does not mean they are not out to get you!</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55118-encrypting-data/read.awp</link><title>Encrypting data</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
