How do I produce a SHA1 or MD5 hash of a string?

How do I produce a SHA1 or MD5 hash of a string?

  
I need to produce a SHA1 or MD5 hash of a string in PHP (which is simple, as those functions are part of PHP's standard library) and compare it to the same string in OutSystems.
How do I produce a SHA1 or MD5 hash of a string?
Hi G,

Check this post where you can several contributions from community members that I believe do what you need.

Cheers
Guilherme
Perfect! thank you.
The slightly embarassing thing is, I'd actually found that post and tried the Switch Library that is linked to above the Cryptography one below it (and had failed to get it to work).
Hello,

You can also use my CryptoAPI component, if you'd like. (advantages: it's actively maintained and works on both .net and java stacks)

Best regards,
Ricardo Silva
Thanks Ricardo.