文本工具

GET

哈希/随机码/字符统计/URL编解码. hash: text+algo(md5/sha1/sha256/sha512/crc32); random: type(code/pw/num)+len; stat; urlencode/urldecode

https://api.hk0.cc/api/txt
https://api.hk0.cc/api/txt?action=hash&text=xxx&algo=sha256

请求参数

接口指标

QPS 上限
0次/秒
平均响应时间
4.11ms
今日调用量
0
累计调用量
7

请求示例

Shell
JavaScript
Python
PHP
Java
Go
C#
Ruby
curl -X GET 'https://api.hk0.cc/api/txt?action=string&text=string&algo=string&type=string&len=int'

返回示例

{
  "code": 200,
  "msg": "success",
  "data": {
    "algo": "sha256",
    "hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
  }
}