diff options
author | Frederick Muriuki Muriithi | 2024-01-16 12:33:04 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-16 12:33:04 +0300 |
commit | 7d6deb76edde8dce5414220586c1fde0ddebfc6e (patch) | |
tree | 06c30cd74a12c31100701c0573754ebac9e064be /qc_app/static/js/select_platform.js | |
parent | 0b8bd607645bf32e1713841e4c68dbc7ea60c0a2 (diff) | |
download | gn-uploader-7d6deb76edde8dce5414220586c1fde0ddebfc6e.tar.gz |
Build a sha512 hash from the uploaded file's name and timestamp
Build a sha512 message digest from the file's name and the timestamp
of when the file was uploaded.
This ensures that the filename is URL-safe, and reduces chances of
name conflicts in the upload directory which could lead to data
corruption when processing the files and saving the files into the
database.
Diffstat (limited to 'qc_app/static/js/select_platform.js')
0 files changed, 0 insertions, 0 deletions