温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/globals/SubtleCrypto/generateKey
点击访问原文链接

SubtleCrypto.generateKey method | globals module | Bun

SubtleCrypto.generateKey method | globals module | BunBuildDocsReferenceGuidesBlogDiscord/Globals/SubtleCrypto/generateKeyMgenerateKey

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Globals/SubtleCrypto/generateKeyMgenerateKey

method

SubtleCrypto.generateKeygenerateKey(algorithm: 'Ed25519' | { name: 'Ed25519' },extractable: boolean,keyUsages: readonly 'sign' | 'verify'[]): PromiseCryptoKeyPair>;generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams,extractable: boolean,keyUsages: readonly KeyUsage[]): PromiseCryptoKeyPair>;generateKey(algorithm: Pbkdf2Params | AesKeyGenParams | HmacKeyGenParams,extractable: boolean,keyUsages: readonly KeyUsage[]): PromiseCryptoKey>;generateKey(algorithm: AlgorithmIdentifier,extractable: boolean,keyUsages: KeyUsage[]): PromiseCryptoKeyPair | CryptoKey>;generateKey(algorithm: AlgorithmIdentifier,extractable: boolean,keyUsages: IterableKeyUsage>): PromiseCryptoKeyPair | CryptoKey>;Referenced typesinterface CryptoKeyPairprivateKey: CryptoKeypublicKey: CryptoKeyclass CryptoKey

The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. Available only in secure contexts.

MDN Reference

readonly algorithm: KeyAlgorithmreadonly extractable: booleanreadonly type: KeyTypereadonly usages: KeyUsage[]

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

SubtleCrypto.generateKey method | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for method globals.SubtleCrypto.generateKey | Bun