A bit of background:
I am a web developer and sometimes i integrate some form of external API in my web applications.
It's the second time already that i find something strange: some APIs instead of accepting messages through HTTPS, require that i send the message over HTTP using some encryption algorithm to encrypt it.
This algorithm is custom made by the API provider and always involves multiple "rounds" of encryption, i think to make the message as secure as possible.
I can't really think of a good reason to why this solution is better, so my question is:
Is there any advantage in using HTTP with an encrypted message instead of HTTPS? Is it common to do this?
UPDATE
Unfortunately i cannot share much about the API but here are some more details:
Basically i need to implement a code snippet given by the API provider that is used to encrypt the HTTP payload, it goes something like:
public string Encrypt(string message)
{
//do stuff with md5 and triple DES
return encryptedmessage;
}
But that's outside the scope of the question, i know for sure that a message needs to be encrypted using that function and sent over HTTP.