डेवलपर व संदर्भ
हैश API
किसी भी टेक्स्ट के SHA-256, SHA-512 या MD5 डाइजेस्ट तुरंत।
शीर्षलेखों का अनुरोध करें
| Name | Required | Description |
|---|---|---|
X-RapidAPI-Key | required | Your RapidAPI key. Get one free. |
X-RapidAPI-Host | required | hash.p.rapidapi.com |
अंतिमबिंदुओं
GET
/v1/hash Hash text with SHA-256, SHA-512, or MD5
पैरामीटर
| Name | Type | Required | Default | Constraints |
|---|---|---|---|---|
algorithm | string | optional | sha256 | matches sha256|sha512|md5 |
text | string | required | — | matches \S |
कोड उदाहरण
curl --request GET \
--url 'https://hash.p.rapidapi.com/v1/hash?text=example' \
--header 'x-rapidapi-key: YOUR_API_KEY' \
--header 'x-rapidapi-host: hash.p.rapidapi.com' const url = "https://hash.p.rapidapi.com/v1/hash?text=example";
const options = {
method: "GET",
headers: {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "hash.p.rapidapi.com"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data); import requests
url = "https://hash.p.rapidapi.com/v1/hash"
querystring = {"text": "example"}
headers = {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "hash.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json()) GET
/v1/hash/algorithms List all supported hash algorithms.
कोड उदाहरण
curl --request GET \
--url 'https://hash.p.rapidapi.com/v1/hash/algorithms' \
--header 'x-rapidapi-key: YOUR_API_KEY' \
--header 'x-rapidapi-host: hash.p.rapidapi.com' const url = "https://hash.p.rapidapi.com/v1/hash/algorithms";
const options = {
method: "GET",
headers: {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "hash.p.rapidapi.com"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data); import requests
url = "https://hash.p.rapidapi.com/v1/hash/algorithms"
headers = {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "hash.p.rapidapi.com"
}
response = requests.get(url, headers=headers)
print(response.json()) इंटरैक्टिव उदाहरण
$ GET /v1/hash?text=abc&algorithm=sha256
{"algorithm":"sha256","hash":"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"} सदस्यता और लाइसेंस
RapidAPI पर वाणिज्यिक-तैयार स्तरों के साथ इस एपीआई तक पहुंचें। साइड-प्रोजेक्ट्स, स्टार्टअप्स और उच्च-मात्रा उत्पादन आर्किटेक्चर के लिए डिज़ाइन की गई लचीली योजनाएँ।
डेवलपर सहायता
एकीकृत करने में सहायता चाहिए या कोई कस्टम समापन बिंदु अनुरोध चाहिए? हमारी इंजीनियरिंग टीम प्रमाणीकरण, पेलोड स्कीमा और उच्च-आवृत्ति दर सीमा बढ़ाने में सहायता के लिए यहां है।
सिस्टम प्रदर्शन
99.9% अपटाइम एसएलए के साथ 24/7 निगरानी की जाती है। अल्ट्रा-लो विलंबता प्रतिक्रिया समय सुनिश्चित करने के लिए विश्व स्तर पर वितरित एज कैशिंग के साथ क्लाउड-नेटिव माइक्रोसर्विसेज के ऊपर निर्मित।
सभी सिस्टम चालू