Page 1 of 1

Get a similar Cryptografic (strong) Randomizer - CSPRNG

Posted: Sat Feb 03, 2018 7:20 pm
by teriibi
With Quantum computers pointing their nose...keep Making LC internaly stronger.
As far as I got it, local LC Salt creation depends on Random numbers/strings
LC "random(99)" is fine for generating weak random strings for games etc... :)

But when it comes to generating passwords or salt them and deal with data transfer, it would be great to have a much stronger local, offline, equivalent of the random_bytes PHP funcion (or whatever other equivalent of CSPRNG).
So far it seems we do depend on PHP as an "external" - connected - ramdomizing solution... :?: :!:

Code: Select all

<?php
$bytes = random_bytes(5);
bin2hex($bytes);
?>
I have no idea if its even possible to code this feaure in a future LC version but Increasing security today sounds to me like a priority before some Quantums system starts breaking our encryptions (and stacks?! :shock: ) as easy as MD5

Re: Get a similar Cryptografic (strong) Randomizer - CSPRNG

Posted: Sat Feb 03, 2018 11:11 pm
by FourthWorld
LC's UUID function has a random option, and UUIDs are widely considered an acceptable password salt.

Re: Get a similar Cryptografic (strong) Randomizer - CSPRNG

Posted: Tue Feb 06, 2018 2:05 pm
by MaxV
Livecode already have it, see: http://livecode.wikia.com/wiki/RandomBytes

Re: Get a similar Cryptografic (strong) Randomizer - CSPRNG

Posted: Sat Feb 10, 2018 9:01 pm
by teriibi
Thanks for these info, will dig into !
8)