There are two ways to go about this, you can either use AJAX to call up your PHP page and retrieve the SHA-1.
Or, you could use one of the JS libraries, such as CryptoJS.
2
solved Need Sha1 encryption in jquery/javascript
There are two ways to go about this, you can either use AJAX to call up your PHP page and retrieve the SHA-1.
Or, you could use one of the JS libraries, such as CryptoJS.
2
solved Need Sha1 encryption in jquery/javascript