I am looking equivalent function encoding decoding my content for content-Md5 property of my blob. I tried Base64ToString and I get this
O؈�T�eK̲; x���*
See the sample code in c# below. I am looking to achieve same functionality for my input in logic app:
var hashStr = "INDiTF0Nq8hU6d4fHqu1dQ==";
var hash = Convert.FromBase64String( hashStr );
var sb = new StringBuilder();
foreach( var b in hash )
{
sb.Append( b.ToString("X2") );
}
sb.ToString().Dump();
I get output as 20D0E24C5D0DABC854E9DE1F1EABB575
How to built dynamic expression to get same output in logic app when I have my string value "INDiTF0Nq8hU6d4fHqu1dQ=="
Note: remember the format is "X2"
Thanks