我的问题是如何在不使用库的情况下在 jquery 中生成哈希密钥,或者有没有任何方法不通过哈希码但使用密钥身份验证。
$.ajax({
type: "POST",
url: "http://mydomain.com/services/json-rpc",
dataType: "json",
data: {
"method":"node.get",
"params":{"hash":"c30eb6b7c256dc4888e2077d0fe44d49b63c07eae7a4bb9e595ad1410ab3992d","domain_name":"http://localhost/drupalclient","domain_time_stamp":"1350026093","nonce":"e0ace29286bdcf88b7f2","nid":44}
},
success: function(response){
console.log(response);
}
});