http://bitmsgdyvsmwgsimkxplisxbzpewvkhfm3fmomzd63apaymaxiznz6ad.onion/index.php/Encryption
Calculate MAC' with HMACSHA256, using key_m as salt and IV + R + cipher text as data. Compare MAC with MAC'. If not equal, decryption will fail. Decrypt the cipher text with AES-256-CBC, using IV as initialization vector, key_e as decryption key and the cipher text as payload.