Convert string to sha256 / base64 - Forum - OpenEdge Development - Progress Community

Convert string to sha256 / base64


Convert string to sha256 / base64

This question is not answered
We work in collaboration with a company that develops in .NET. We need to ask one of their web services. We need to convert a querystring to sha256 and convert the base64 result to string.
The concern is that we work on the unix side, and that we cannot (client constraint) install We are looking for an alternative to do what is done in .NET on the openedge side. Do you have any leads for me?
We wanted to find the equivalent in shell, but we don't come across the same result, I think the .NET functions do other things.
Thank you

All Replies
  • This should work in current versions of OpenEdge:

    base64-encode(message-digest("SHA-256" , "Hello World")).