<script type="text/javascript" src="../js/lib/hmac-sha512.js"></script>
var hash = CryptoJS.HmacSHA512('1111111', 'stub11111');
CryptoJS v3.1.2
code.google.com/p/crypto-js
But why hash is undefined?
<script type="text/javascript" src="../js/lib/hmac-sha512.js"></script>
var hash = CryptoJS.HmacSHA512('1111111', 'stub11111');
CryptoJS v3.1.2
code.google.com/p/crypto-js
But why hash is undefined?
The message must be passed as a string;
(Assuming stub11111 is a variable, otherwise quote it)