Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
API reference for the SubtleCrypto class in the Keplercrypto package.

Constructors

new SubtleCrypto()

new SubtleCrypto(internalWebCrypto): SubtleCrypto

Parameters

internalWebCrypto
InternalWebCrypto

Returns

SubtleCrypto

Methods

decrypt()

decrypt(algorithm, key, data): Promise<ArrayBuffer>

Parameters

algorithm
EncryptionAlgorithm
key
CryptoKey
data
BufferSource

Returns

Promise<ArrayBuffer>

deriveBits()

deriveBits(algorithm, baseKey, length): Promise<ArrayBuffer>

Parameters

algorithm
DerivationAlgorithm
baseKey
CryptoKey
length
number

Returns

Promise<ArrayBuffer>
Last modified on October 2, 2025