summaryrefslogtreecommitdiffstats
path: root/app/assets/img
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-01-30 20:48:14 -0500
committerMalf Furious <m@lfurio.us>2016-01-30 20:48:14 -0500
commitb6bb1893ad7b4a901a28b0fa2e725141a7b39509 (patch)
tree9e289d252bff59205ce93450556ef9df5028b1c8 /app/assets/img
parentbad5036569b3c572f60dae034c42a8129adc29e5 (diff)
downloadscrott-b6bb1893ad7b4a901a28b0fa2e725141a7b39509.tar.gz
scrott-b6bb1893ad7b4a901a28b0fa2e725141a7b39509.zip
Update app source of entropy for creating random blobs
Removed use of PHP's rand() functon in favor of openssl extension's openssl_random_pseudo_bytes() to create blobs with better entropy. Created function getBlob (from class Object) to get a sha256 hash created from randomness for use as object GUIDs, password salts, application tokens, etc.
Diffstat (limited to 'app/assets/img')
0 files changed, 0 insertions, 0 deletions