言語
/v1/hash/batch
1 回のリクエストで、リクエストされたすべてのアルゴリズムで文字列を送信し、そのハッシュを受信します。 複数の形式のチェックサムが必要な場合に、複数の往復を節約します。
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"]}'
リリース アーティファクトを公開するときは、1 回の呼び出しで MD5、SHA-256、および SHA-512 チェックサムを生成し、3 つすべてをリリース ノートに含めます。
古い MD5 ハッシュと新しい SHA-256 ハッシュの両方を同時に生成することで、下位互換性を維持しながらレコードを更新できます。
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.