PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Encrypting data
Encrypting data
Iniciado por guest, 25,nov. 2015 06:01 - No hay respuesta
Publicado el 25,noviembre 2015 - 06:01
Hi all,

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?

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.

sMessage is Buffer = "Message to encrypt"
bufKey is Buffer = HashString(HA_MD5_128, "password")
bufEncrypt is Buffer = CryptStandard(sMesssage, bufKey, cryptAES128)
// Decryption
sResult is Buffer = UncryptStandard(bufEncrypt, bufKey, cryptAES128)
Info(sResult)

Thanks, Art

PS: Remember, just because you are paranoid does not mean they are not out to get you!