简体   繁体   中英

C# equivalents for JavaScript Cryptography API functions

The new Cryptography API for Javascript has these functions:

window.crypto.subtle.sign

window.crypto.subtle.importKey

Please what are their equivalents in C#

Thanks.

EDIT: I am asking for the c# equivalents of the JavaScript Cryptography functions implemented here: http://www.w3.org/TR/WebCryptoAPI/

You can find the equlivalents(most of them) residing in following namespace.

using System.Security.Cryptography;

Here's a more detailed list of the available algorithms : MSDN Reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM