Page 2 of 2

Re: Creating SHA Encrypted Values

Posted: Sat Mar 11, 2017 12:21 am
by FourthWorld
mickpitkin92 wrote:I'm looking forward to seeing the messageDigest function get updated, hopefully it will have some clear documentation to help users figure out the correct syntax to generate say a SHA3 hash or other hash types.
The syntax noted in the pull request I linked to seems pretty straightforward for all types:

Code: Select all

messageDigest(<type>, <message>) 

Re: Creating SHA Encrypted Values

Posted: Fri Mar 31, 2017 1:19 pm
by sphere
Very nice.
I'm just stepping into this encryption bussiness.

I want to change a program whcih stores now plain text to a database. But it's better to change some sensitive data into encrypted data.
My idea was : encrypt--->Base64 encode--->store into database (base64 so it becomes a string instead of binarydata, so no hassle with trailing zeros as i have read here and there)
then Read again for DB -->Base64 decode--->decrypt

Have to test some things

Re: Creating SHA Encrypted Values

Posted: Thu Jun 15, 2017 9:03 pm
by sphere
lc9 dp7 new sha released today :D