I have sha1 encryption coding in php
<?php
echo hash('sha1', 'testing'.'abcdb');
?>
but, my requirement should have to run the page xyz.html, so the above block is not working.
So, I need to do sha1 encryption in jquery/javascript. Help me by providing coding for sha1 encryption.
this is exactly have to be converted to scripts
'<?php echo hash('sha1', 'my-secret-key' . $_REQUEST["email"]); ?>'
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…