You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generateKey() method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
Today, I wanted to test this Curve in Deno after seeing it available in the Web Crypto API but I got the following error instead:
Is it because Browsers don't support it yet or Deno has not yet exposed it?
SubtleCrypto: generateKey() method
Note: This feature is available in Web Workers.
The
generateKey()
method of theSubtleCrypto
interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).Syntax
Parameters
algorithm
An object defining the type of key to generate and providing extra algorithm-specific parameters.RsaHashedKeyGenParams
object.EcKeyGenParams
object.HmacKeyGenParams
object.AesKeyGenParams
object.Ed25519
or an object of the form{ name: "Ed25519" }
.X25519
or an object of the form{ name: "X25519" }
.The text was updated successfully, but these errors were encountered: