哈希算(suàn)法(SHA256)

## 接口名稱 哈希算(suàn)法(SHA256)接口 ## 接口描述 對傳入的文字進行(xíng)哈希算(suàn)法(SHA256)。 ## 接口地址 https://idr.gdsinsing.com/tools/hash/sha256 ## 調用方式 |方法|數(shù)據類型| |-|-| |[ ] GET|[ ] form-data| |[X] POST|[X] x-www-form-urlencoded| |[ ] PUT|[ ] raw| |[ ] DELETE|| ## 參數(shù)說明(míng) |參數(shù)名|類型|必填|說明(míng)| |-|-|-|-| |rowText|String|是|原文| ## 返回結果 #### 成功返回 ```JavaScript { "success": true, "data": "e12e115acf4552b2568b55e93cbd39394c4ef81c82447fafc997882a02d23677", "msg": "", "ex": null } ``` #### 失敗返回 ```JavaScript { "success": false, "data": null, "msg": "", "ex": null } ``` ## 調用例子 ``` JavaScript var settings = { "url": "https://idr.gdsinsing.com/tools/hash/sha256", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "data": { "rowText": "ABCD" } }; $.ajax(settings).done(function (response) { console.log(response); }); ```