RSACryptoServiceProvider in 4GL

Hi everyone

I am in need of sending a signed hash to a server that is programmed in Progress 10.2A 4GL.

I have searched and have come to this in C#:

SHA1Managed sha = new SHA1Managed();

....

RSACryptoServiceProvider rsa = new RSACryptoServiceProvider();

byte[] SignedHashValue = rsa.SignData(digest, sha);

Console.WriteLine(Convert.ToBase64String(SignedHashValue));

I need help in converting C# to Progress,

Can anyone help me?

Thank

João Pedro Portelinha