function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KunlunKunlun 

How can I convert below code to C#?

 

The operation is coner to MD5.

-----------------------------------------------------

Blob input = Blob.valueOf(stringToHash);
Blob bob = Crypto.generateDigest('MD5', input);
String rawHex = EncodingUtil.convertToHex(bob);
-----------------------------------------------------