哈希/解压/压缩

GET
https://apix.iqfk.top/api/hash

接口描述

哈希/解压/压缩

请求参数

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: ''
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
  "code": 200,
  "data": {
    "source": "123",
    "md5": "202cb962ac59075b964b07152d234b70",
    "sha": {
      "sha1": "40bd001563085fc35165329ea1ff5c5ecbdbbeef",
      "sha256": "a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3",
      "sha512": "3c9909afec25354d551dae21590bb26e38d53f2173b8d3dc3eee4c047e7ab1c1eb8b85103e3be7ba613b31bb5c9c36214dc9f14a42fd7a2fdb84856bca5c44c2"
    },
    "base64": {
      "encoded": "MTIz",
      "decoded": "�m"
    },
    "url": {
      "encoded": "123",
      "decoded": "123"
    },
    "gzip": {
      "encoded": "1f8b08000000000000033334320600d263488803000000",
      "decoded": ""
    },
    "deflate": {
      "encoded": "789c3334320600012d0097",
      "decoded": ""
    },
    "brotli": {
      "encoded": "0b018031323303",
      "decoded": ""
    }
  }
}