Hi @om shankar ,
As far as I think,you could use Cryptographic Signatures.You could uses the SHA1 algorithm and call the CreateSignature method to perform the signing.
And you need to have the information including of the public key of the party that signed the data,the digital signature,the data that was signed and the hash algorithm used by the signer to verify that data was signed by a particular party.
More details,you could refer to below article:
https://learn.microsoft.com/en-us/dotnet/standard/security/cryptographic-signatures
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.