Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.7 KB

subtlecrypto_impl.md

File metadata and controls

33 lines (28 loc) · 1.7 KB

.NET Crypto mapping to SubtleCrypto

This document represents a possible mapping of SubtleCrypto APIs that can be used to implement the .NET Crypto API. SubtleCrypto is an implementation of the WebCrypto API. The WebCrypto API has a table for algorithm support here.

Symmetric encryption

  • AES - SubtleCrypto.encrypt(), SubtleCrypto.generateKey()
  • TripleDES - Not supported
  • RC2 - Not supported
  • DES - Not supported

Asymmetric cryptography

Hashing

  • MD5 - Not supported
  • SHA1 - SubtleCrypto.digest()
  • SHA256 - SubtleCrypto.digest()
  • SHA384 - SubtleCrypto.digest()
  • SHA512 - SubtleCrypto.digest()
  • HMAC - SubtleCrypto.sign(), SubtleCrypto.generateKey()

Other