This API allows users to hash text up to 2048 characters in a variety of algorithms.
https://api.msmc.cc/
Endpoint: /api/hashing/:algorithm/:text
Method: GET
Base URL: https://api.msmc.cc/
This endpoint returns the input text hashed in your desired algorithm
{
"Algorithm": "",
"Input": "",
"Hash": "",
"Timestamp":
}
Algorithm: The algorithm used to hash inputInput: the users input textHash: the hashed inputTimestamp: unix millisecond timestamp of responseGET https://api.msmc.cc/api/hashing/sha256/testData
{
"Algorithm": "sha256",
"Input": "testData",
"Hash": "ba477a0ac57e10dd90bb5bf0289c5990fe839c619b26fde7c2aac62f526d4113",
"Timestamp": 1757193156152
}
All error messages contain the following information, as well as error specific information:
{
"Error": "",
"Status":
}
Where:
1. Input too large
If you try to hash text larger than 2048 characters (2kb) you will recieve the following error, where n is the amount of character over the limit:
{
"Error": "Input was n over the 2048 character limit."
}
2. Invalid Algorithm
If you try to pass an unsuported or invalid algorithm you will recieve the following error:
{
"Error": "Invalid Algorithm",
"Supported": [
"RSA-MD5",
"RSA-RIPEMD160",
"RSA-SHA1",
"RSA-SHA1-2",
"RSA-SHA224",
"RSA-SHA256",
"RSA-SHA3-224",
"RSA-SHA3-256",
"RSA-SHA3-384",
"RSA-SHA3-512",
"RSA-SHA384",
"RSA-SHA512",
"RSA-SM3",
"blake2b512",
"blake2s256",
"id-rsassa-pkcs1-v1_5-with-sha3-224",
"id-rsassa-pkcs1-v1_5-with-sha3-256",
"id-rsassa-pkcs1-v1_5-with-sha3-384",
"id-rsassa-pkcs1-v1_5-with-sha3-512",
"md5",
"md5-sha1",
"ripemd",
"ripemd160",
"rmd160",
"sha1",
"sha224",
"sha256",
"sha3-224",
"sha3-256",
"sha3-384",
"sha3-512",
"sha384",
"sha512",
"sha512-224",
"sha512-256",
"shake128",
"shake256",
"sm3"
],
"Status": 400
}
3. Server Error While Hashin
If the server throughs an error while hashing, you will recieve the following error, where details contains the actual error message:
{
"Error": "Hashing Failed.",
"Details": "Error Details",
"Status": 500
}
Endpoint: /api/hashing/algorithms
Method: GET
Base URL: https://api.msmc.cc/
None
This endpoint returns the supported algorithms
{
"Supported Algorithms": []
}
Supported Algorithms: a list of supported algorithmsGET https://api.msmc.cc/api/hashing/algorithms/
{
"Supported Algorithms": [
"RSA-MD5",
"RSA-RIPEMD160",
"RSA-SHA1",
"RSA-SHA1-2",
"RSA-SHA224",
"RSA-SHA256",
"RSA-SHA3-224",
"RSA-SHA3-256",
"RSA-SHA3-384",
"RSA-SHA3-512",
"RSA-SHA384",
"RSA-SHA512",
"RSA-SM3",
"blake2b512",
"blake2s256",
"id-rsassa-pkcs1-v1_5-with-sha3-224",
"id-rsassa-pkcs1-v1_5-with-sha3-256",
"id-rsassa-pkcs1-v1_5-with-sha3-384",
"id-rsassa-pkcs1-v1_5-with-sha3-512",
"md5",
"md5-sha1",
"ripemd",
"ripemd160",
"rmd160",
"sha1",
"sha224",
"sha256",
"sha3-224",
"sha3-256",
"sha3-384",
"sha3-512",
"sha384",
"sha512",
"sha512-224",
"sha512-256",
"shake128",
"shake256",
"sm3"
]
}
Currently this API has full support for all of the 38 follwing algorithms:
For support, email [email protected]