2 \brief Authorization Handling
3 \details Upon user submission of id/password, hashes password and
4 saves result in a file on VFS using hashing algorithm prov ided by wolfcrypt, a subsystem of wolfSSL
7 -----------------------------------------------------------------------------*/
8 /* On button press, send password to C runtime environment */
11 var password
= document
.getElementById("password").value
;
12 /* Virtual Filesystem is of type IDBFS and has been setup in preRun in Module via JVM runtime environment*/
13 Module
.execute(_auth_encrypt
, password
);
17 document
.getElementById("login").addEventListener("click", userLogin
, false);