I have written code as below to make in HmacSHA256 but i need in RSASHA256,
can you plz help.

  <script src="http://crypto-
      js.googlecode.com/svn/tags/3.0.2/build/rollups/hmac-sha256.js
"></script>;
     <script src="http://crypto-
      js.googlecode.com/svn/tags/3.0.2/build/components/enc-base64-min.js">
     </script>;
 function aaa(message,secret) {
     var hash = CryptoJS.HmacSHA256("message", "secret");
     var hashInBase64 = CryptoJS.enc.Base64.stringify(hash);
 return aaa
 }
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to