[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: .Net SHA512CryptoServiceProvider not found on 11.6.3

Status
Not open for further replies.
S

Stefan Drissen

Guest
And just as an addition this is how I'm checking a file against it's signature using the public key: def var rsa as class System.Security.Cryptography.RSACryptoServiceProvider no-undo. rsa = NEW System.Security.Cryptography.RSACryptoServiceProvider(). rsa:FromXmlString( lcpublic_key ). message rsa:VerifyData( rawToByteArray( message-digest( "SHA-512", base64-decode( lcfile ) ) ), // new System.Security.Cryptography.SHA512CryptoServiceProvider(), new System.Security.Cryptography.SHA512Managed(), memptrToByteArray( base64-decode( lcsignature ) ) ) view-as alert-box.

Continue reading...
 
Status
Not open for further replies.
Top