语言
/v1/hash/batch
通过一个请求在每个请求的算法中发送一个字符串并接收其哈希值。 当您需要多种格式的校验和时,可以节省多次往返。
The input string to hash.
Array of algorithms to compute. Defaults to all supported algorithms if omitted.
curl -X POST https://api.botoi.com/v1/hash/batch \ -H "Content-Type: application/json" \ -d '{"text":"hello world","algorithms":["md5","sha256","sha512"]}'
发布版本工件时,在一次调用中生成 MD5、SHA-256 和 SHA-512 校验和,并将所有三项包含在发行说明中。
同时生成旧的 MD5 哈希值和新的 SHA-256 哈希值,以便您可以更新记录,同时保持向后兼容性。
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.