Hey guys, so I released a free API for string encryption, that anyone can use!
You may encrypt any string with any known hash type (md2, md5, sha1, sha224, sha256, etc...) with this API.
Feel free to use it or share it with friends!
Link: https://rapidapi.com/Crimin4L/api/string...-hash-type
Simply Implement into your website with php like so:
*Note: replace <RapidAPI-Key> with YOUR api key you get from signing up on Rapidapi.com for free!
You may encrypt any string with any known hash type (md2, md5, sha1, sha224, sha256, etc...) with this API.
Feel free to use it or share it with friends!
Link: https://rapidapi.com/Crimin4L/api/string...-hash-type
Simply Implement into your website with php like so:
PHP:
<?php
header('Content-Type: application/json');
if(isset($_GET['type']) && isset($_GET['string'])){
$type = $_GET['type'];
$string = $_GET['string'];
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://string-encryption-any-hash-type.p.rapidapi.com/encrypt?type=${type}&string=${string}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => array(
"x-rapidapi-host: string-encryption-any-hash-type.p.rapidapi.com",
"x-rapidapi-key: <RapidAPI-Key>"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if(!$err){
echo $response;
}else{
echo "cURL Error #:" . $err;
}
}else{
echo 'Error: Append link like so: ?type={hash type}&string={any string}'
}
?>