WebCrypto
Provides a comprehensive interface for cryptographic operations. This class serves as a central point for accessing various cryptographic functionalities including algorithm retrieval, key generation, and cipher operations.
Constructors
new WebCrypto()
new WebCrypto():
WebCrypto
Create a new instance of the WebCrypto
class.
Initializes a new WebCrypto
object. This constructor doesn't take any
parameters as it sets up the internal state needed to perform cryptographic
operations. Each instance provides access to the full range of
cryptographic functionalities from the standard Web Crypto API.
Returns
Properties
crypto
readonly
crypto:Crypto
The crypto read-only property of a WebCrypto
instance returns a
Crypto object which gives access to
certain cryptographic related services.
Last updated: Oct 02, 2025