Get a similar Cryptografic (strong) Randomizer - CSPRNG

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

Get a similar Cryptografic (strong) Randomizer - CSPRNG

Post by teriibi » Sat Feb 03, 2018 7:20 pm

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
Last edited by teriibi on Sat Feb 10, 2018 8:54 pm, edited 1 time in total.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6230
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

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

Post by FourthWorld » Sat Feb 03, 2018 11:11 pm

LC's UUID function has a random option, and UUIDs are widely considered an acceptable password salt.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

MaxV
Posts: 1542
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

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

Post by MaxV » Tue Feb 06, 2018 2:05 pm

Livecode already have it, see: http://livecode.wikia.com/wiki/RandomBytes
Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w

teriibi
Posts: 254
Joined: Mon Nov 13, 2017 3:49 pm
Location: Bolivia

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

Post by teriibi » Sat Feb 10, 2018 9:01 pm

Thanks for these info, will dig into !
8)

Post Reply

Return to “Feature Requests”