Or you could use the CryptoAPI from the Forge:
http://www.outsystems.com/forge/component/437/cryptoapi/
http://www.outsystems.com/forge/component/437/cryptoapi/