Download toolbench/toolenv/tools/Cryptography/securityapi.json from Septzzz/gymcl-data: direct link, hf CLI and curl.
- Browser
- Download file 10.2 kB
-
https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Cryptography/securityapi.json
- Command line
-
hf download hf://datasets/Septzzz/gymcl-data/toolbench/toolenv/tools/Cryptography/securityapi.json
-
curl -L -o securityapi.json https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Cryptography/securityapi.json
10.2 kB
| { | |
| "tool_name":"securityAPI", | |
| "tool_description":"Our API offers a secure and reliable encryption and decryption service utilizing the latest industry-standard cryptographic algorithms.\n\nOur SHA256 endpoint provides an easy means to verify user passwords. It compares the user-entered password with the stored hash to ensure that only authorized users gain access to your services.\n\nOur RSA endpoint generates a secure public-private key pair, allowing you to encrypt sensitive data before transmitting it over the network. This guarantees that ev...", | |
| "title":"securityAPI", | |
| "pricing":"FREEMIUM", | |
| "score":null, | |
| "home_url":"https://rapidapi.com/ajenteretecode/api/securityapi1/", | |
| "host":"securityapi1.p.rapidapi.com", | |
| "api_list":[ | |
| { | |
| "name":"base64 encrypt", | |
| "url":"https://securityapi1.p.rapidapi.com/base64/encrypt/{data}", | |
| "description":"base64 encrypt\nJSON: {\"msg\": message}", | |
| "method":"GET", | |
| "required_parameters":[ | |
| { | |
| "name":"data", | |
| "type":"string", | |
| "description":"", | |
| "default":"{\"msg\":\"hola\"}" | |
| } | |
| ], | |
| "optional_parameters":[], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/base64/encrypt/{data}\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| }, | |
| { | |
| "name":"base64 decrypt", | |
| "url":"https://securityapi1.p.rapidapi.com/base64/decrypt/{data}", | |
| "description":"base64 decrypt\nJSON:{\"msg\": base64_encoded_message}", | |
| "method":"GET", | |
| "required_parameters":[ | |
| { | |
| "name":"data", | |
| "type":"string", | |
| "description":"", | |
| "default":"{\"msg\":\"aG9sYQ==\"}" | |
| } | |
| ], | |
| "optional_parameters":[], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/base64/decrypt/{data}\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| }, | |
| { | |
| "name":"password checker", | |
| "url":"https://securityapi1.p.rapidapi.com/pass/{json}", | |
| "description":"check if password encripted \nAlgo Suported:\nMD4\nMD5\nSHA-1\nSHA-224\nSHA-256\nSHA-384\nSHA-512\nSHA3-224\nSHA3-256\nSHA3-384\nSHA3-512\nRIPEMD-160\nRIPEMD-320\nHAS-160\nWhirlpool\nJSON: {\"algo\":\"sha256\",\"pass\":hashed_password,\"enter_pass\":user password}", | |
| "method":"GET", | |
| "required_parameters":[ | |
| { | |
| "name":"json", | |
| "type":"STRING", | |
| "description":"", | |
| "default":"{\"algo\":\"sha256\",\"pass\":\"23d4f4ec4e04604d4d8950c6b4235356a362af6a91cf6d1e6a1ebf2b16f509d9\",\"enter_pass\":\"mypassword\"}" | |
| }, | |
| { | |
| "name":"json", | |
| "type":"string", | |
| "description":"", | |
| "default":"{\"algo\":\"sha256\",\"pass\":\"89e01536ac207279409d4de1e5253e01f4a1769e696db0d6062ca9b8f56767c8\",\"enter_pass\":\"mypassword\"}" | |
| } | |
| ], | |
| "optional_parameters":[], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/pass/{json}\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| }, | |
| { | |
| "name":"hmac", | |
| "url":"https://securityapi1.p.rapidapi.com/pass/{json}", | |
| "description":"verify a hmac\nJSON: {\"algo\": \"hmac\", \"pass\":hashed_password,\"enter_pass\":user password, \"key\": the_secret_key}", | |
| "method":"GET", | |
| "required_parameters":[ | |
| { | |
| "name":"json", | |
| "type":"STRING", | |
| "description":"", | |
| "default":"{\"algo\":\"hmac\",\"pass\":\"4a2f14768bd846d8ad35782fce5f2e82f86a60cbf1cf430eab64d7888c76e2ba\",\"enter_pass\":\"\",\"key\":\"06ab245b7abff38202efd8db61hi419d6b3d2454cdeed0079a93291bdc67103512\"}" | |
| } | |
| ], | |
| "optional_parameters":[], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/pass/{json}\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| }, | |
| { | |
| "name":"/api", | |
| "url":"https://securityapi1.p.rapidapi.com/api", | |
| "description":"test endpoint", | |
| "method":"GET", | |
| "required_parameters":[], | |
| "optional_parameters":[], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/api\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| }, | |
| { | |
| "name":"get rsa keys", | |
| "url":"https://securityapi1.p.rapidapi.com/rsa/key/{format}", | |
| "description":"get rsa keys", | |
| "method":"GET", | |
| "required_parameters":[], | |
| "optional_parameters":[ | |
| { | |
| "name":"format", | |
| "type":"string", | |
| "description":"the output with be with out the \\\\\\\\n special chars", | |
| "default":"format=true" | |
| } | |
| ], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/rsa/key/{format}\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| }, | |
| { | |
| "name":"decrypt with aes", | |
| "url":"https://securityapi1.p.rapidapi.com/aes/decrypt/{json}", | |
| "description":"decrypt with aes \njson: {\"key\": aes_key, \"iv\": aes_iv, \"enc\": encrypted_message}\naes suported aes-256-cbc", | |
| "method":"GET", | |
| "required_parameters":[ | |
| { | |
| "name":"json", | |
| "type":"string", | |
| "description":"", | |
| "default":"{\"key\":\"23001bce53e4bfc1f1f7c6cb9205fb8e112153b47f76d9c12b5ef4dc07992350\",\"iv\":\"c7ff3e6d6b9727b606552da3020cd3bb\",\"enc\":\"2df066ef9830cf0343e1c5887c80a886\"}" | |
| } | |
| ], | |
| "optional_parameters":[], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/aes/decrypt/{json}\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| }, | |
| { | |
| "name":"encrypt with aes", | |
| "url":"https://securityapi1.p.rapidapi.com/aes/encrypt/{json}", | |
| "description":"encrypt with aes\njson: {\"key\": aes_key, \"iv\": aes_iv, \"msg\": message}\naes suported aes-256-cbc", | |
| "method":"GET", | |
| "required_parameters":[ | |
| { | |
| "name":"json", | |
| "type":"string", | |
| "description":"", | |
| "default":"{\"key\":\"23001bce53e4bfc1f1f7c6cb9205fb8e112153b47f76d9c12b5ef4dc07992350\",\"iv\":\"c7ff3e6d6b9727b606552da3020cd3bb\",\"msg\":\"hola\"} " | |
| } | |
| ], | |
| "optional_parameters":[ | |
| { | |
| "name":"data", | |
| "type":"STRING", | |
| "description":"", | |
| "default":"" | |
| } | |
| ], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/aes/encrypt/{json}\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":200, | |
| "body":{ | |
| "key1":"value", | |
| "key2":"value" | |
| }, | |
| "headers":{}, | |
| "schema":{} | |
| }, | |
| { | |
| "name":"get a random aes key", | |
| "url":"https://securityapi1.p.rapidapi.com/aes/key", | |
| "description":"get JSON with random aes and iv key", | |
| "method":"GET", | |
| "required_parameters":[], | |
| "optional_parameters":[], | |
| "code":"import requests\n\nurl = \"https://securityapi1.p.rapidapi.com/aes/key\"\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"securityapi1.p.rapidapi.com\"\n}\n\nresponse = requests.get(url, headers=headers)\n\nprint(response.json())\n", | |
| "statuscode":111, | |
| "body":"", | |
| "headers":"", | |
| "schema":"" | |
| } | |
| ] | |
| } |