About the API:
This API will allow you to convert any text to the desired encrypted type. Supports MD5, SHA1, SHA256, SHA384, and SHA512. Also, you will be able to decrypt them as well.
This API will receive a string and you will be able to encrypt it in the format you want. Later, receive a Hash that you can store.
Besides the number of API calls per month, there are no other limitations.
Use this endpoint to encrypt any string you want.
You will be able to encrypt and generate MD5 SHA1 SHA256 SHA384 SHA512 hashes.
Use type to declare the encryption type:
'md2',
'md4',
'md5',
'sha1',
'sha224',
'sha256',
'sha384',
'sha512',
'ripemd128',
'ripemd160',
'ripemd256',
'ripemd320',
'whirlpool',
'tiger128,3',
'tiger160,3',
'tiger192,3',
'tiger128,4',
'tiger160,4',
'tiger192,4',
'snefru',
'snefru256',
'gost',
'gost-crypto',
'adler32',
'crc32',
'crc32b',
'fnv132',
'fnv1a32',
'fnv164',
'fnv1a64',
'joaat',
'haval128,3',
'haval160,3',
'haval192,3',
'haval224,3',
'haval256,3',
'haval128,4',
'haval160,4',
'haval192,4',
'haval224,4',
'haval256,4',
'haval128,5',
'haval160,5',
'haval192,5',
'haval224,5',
'haval256,5',
Use string to insert the string you want to encrypt.
Encrypt - Endpoint Features
| Object | Description |
|---|---|
data |
[Required] string to hash. |
method |
[Required] The desired hashing method |
{"status":200,"success":true,"method":"sha256","encrypted":"eyJpdiI6IkM5Zk1jb1BVNk9jOFdScm5jSjdJMEE9PSIsInZhbHVlIjoiVzk4eUIwL1BZZWtZdkV1bVk4dHo4MDkrMU1iMUdHS0swbXFBYjhkZVlZVT0iLCJtYWMiOiJkNGI3ZmVjMTVmOGM5YmNkZGE0MzA3YzAxMTQxMjkzZGMxN2JjZDdjMmI4OWNkMDIzNzY2NDRhMmRmM2UwNmJiIiwidGFnIjoiIn0="}
curl --location --request GET 'https://zylalabs.com/api/145/encryption+and+decryption+api/182/encrypt?data=parse this string&method=sha256' --header 'Authorization: Bearer YOUR_API_KEY'
Be able to decrypt the string that was previously encrypted.
Declare the type of encryption it has and the hash that you previously received in the "Encrypt" endpoint.
Decrypt - Endpoint Features
| Object | Description |
|---|---|
encrypted |
[Required] The encrypted hash to decode. |
method |
[Required] The method used to encrypt. |
{"status":404,"success":false,"message":"Encrypted data not found"}
curl --location --request GET 'https://zylalabs.com/api/145/encryption+and+decryption+api/183/decrypt?encrypted=eyJpdiI6IkM5Zk1jb1BVNk9jOFdScm5jSjdJMEE9PSIsInZhbHVlIjoiVzk4eUIwL1BZZWtZdkV1bVk4dHo4MDkrMU1iMUdHS0swbXFBYjhkZVlZVT0iLCJtYWMiOiJkNGI3ZmVjMTVmOGM5YmNkZGE0MzA3YzAxMTQxMjkzZGMxN2JjZDdjMmI4OWNkMDIzNzY2NDRhMmRmM2UwNmJiIiwidGFnIjoiIn0=&method=sha256' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Encrypt endpoint returns a JSON object containing the status, success flag, method used for encryption, and the encrypted string. The Decrypt endpoint returns a JSON object with the status, success flag, and a message indicating whether the decryption was successful or if the encrypted data was not found.
Key fields in the Encrypt response include "status" (HTTP status code), "success" (boolean indicating success), "method" (encryption type), and "encrypted" (the resulting hash). In the Decrypt response, key fields are "status," "success," and "message" (providing details on the operation).
The Encrypt endpoint accepts two parameters: "type," which specifies the encryption method (e.g., md5, sha256), and "string," which is the text to be encrypted. Users can customize their requests by selecting different encryption types based on their needs.
The response data is organized in a JSON format. For the Encrypt endpoint, it includes fields for status, success, method, and the encrypted string. The Decrypt endpoint organizes its response similarly, focusing on status, success, and a message for user feedback.
Typical use cases include securely storing passwords, verifying data integrity, and sharing sensitive information within organizations. Users can encrypt data before transmission and later decrypt it for validation or access control purposes.
Users can utilize the returned encrypted string for secure storage or transmission. The success flag helps determine if the operation was successful, while the method field indicates which encryption algorithm was used, aiding in compatibility checks during decryption.
The Decrypt endpoint provides information on whether the decryption was successful and includes a message if the encrypted data is not found. It requires the encryption type and the hash to perform the decryption, ensuring users can retrieve original data if available.
Data accuracy is maintained through the use of established cryptographic algorithms for encryption and decryption. The API relies on well-tested methods, ensuring that the encrypted outputs are consistent and reliable when the correct parameters are provided.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
152ms
Service Level:
100%
Response Time:
104ms
Service Level:
100%
Response Time:
1,708ms
Service Level:
100%
Response Time:
1,064ms
Service Level:
100%
Response Time:
669ms
Service Level:
100%
Response Time:
264ms
Service Level:
100%
Response Time:
749ms
Service Level:
100%
Response Time:
164ms
Service Level:
100%
Response Time:
857ms
Service Level:
100%
Response Time:
94ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
1,999ms
Service Level:
100%
Response Time:
7,813ms
Service Level:
100%
Response Time:
21ms
Service Level:
100%
Response Time:
18ms
Service Level:
100%
Response Time:
18ms
Service Level:
100%
Response Time:
3,302ms
Service Level:
100%
Response Time:
2,846ms
Service Level:
100%
Response Time:
3,068ms
Service Level:
100%
Response Time:
3,001ms