/third_party/node/test/parallel/ |
D | test-webcrypto-encrypt-decrypt.js | 9 const { webcrypto } = require('crypto'); 10 const { subtle } = webcrypto; 17 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 48 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 49 const counter = webcrypto.getRandomValues(new Uint8Array(16)); 75 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 76 const iv = webcrypto.getRandomValues(new Uint8Array(16)); 102 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 103 const iv = webcrypto.getRandomValues(new Uint8Array(12));
|
D | test-webcrypto-random.js | 10 const { webcrypto } = require('crypto'); 19 () => webcrypto.getRandomValues(i), 26 webcrypto.getRandomValues(buf); 44 webcrypto.getRandomValues(buf); 52 webcrypto.getRandomValues(buf); 67 () => webcrypto.getRandomValues(kData),
|
D | test-global-webcrypto-classes.js | 9 const webcrypto = require('internal/crypto/webcrypto'); constant 11 assert.strictEqual(Crypto, webcrypto.Crypto); 12 assert.strictEqual(CryptoKey, webcrypto.CryptoKey); 13 assert.strictEqual(SubtleCrypto, webcrypto.SubtleCrypto);
|
D | test-global-webcrypto.js | 11 assert.strictEqual(globalThis.crypto, crypto.webcrypto); 12 assert.strictEqual(Crypto, crypto.webcrypto.constructor); 13 assert.strictEqual(SubtleCrypto, crypto.webcrypto.subtle.constructor);
|
D | test-webcrypto-encrypt-decrypt-aes.js | 9 const { webcrypto } = require('crypto'); 10 const { subtle } = webcrypto; 217 const iv = webcrypto.getRandomValues(new Uint8Array(12)); 218 const aad = webcrypto.getRandomValues(new Uint8Array(32)); 228 webcrypto.getRandomValues(new Uint8Array(32))
|
D | test-webcrypto-export-import.js | 9 const { webcrypto } = require('crypto'); 10 const { subtle } = webcrypto; 14 const keyData = webcrypto.getRandomValues(new Uint8Array(32)); 77 const keyData = webcrypto.getRandomValues(new Uint8Array(32)); 119 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-derivekey-cfrg.js | 9 const { webcrypto } = require('crypto'); 10 const { subtle } = webcrypto; 171 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-derivekey-ecdh.js | 9 const { webcrypto } = require('crypto'); 10 const { subtle } = webcrypto; 230 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-derivebits-cfrg.js | 9 const { webcrypto } = require('crypto'); 10 const { subtle } = webcrypto; 199 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-derivebits-ecdh.js | 9 const { webcrypto } = require('crypto'); 10 const { subtle } = webcrypto; 254 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-crypto-psychic-signatures.js | 83 crypto.webcrypto.subtle.importKey( 90 return crypto.webcrypto.subtle.verify(
|
D | test-webcrypto-getRandomValues.js | 9 const { getRandomValues } = require('crypto').webcrypto;
|
D | test-crypto-webcrypto-aes-decrypt-tag-too-small.js | 9 const crypto = require('crypto').webcrypto;
|
D | test-crypto-subtle-zero-length.js | 9 const crypto = require('crypto').webcrypto;
|
D | test-webcrypto-cryptokey-workers.js | 11 const { subtle } = require('crypto').webcrypto;
|
D | test-webcrypto-derivebits.js | 10 const { subtle } = require('crypto').webcrypto;
|
D | test-webcrypto-sign-verify.js | 9 const { subtle } = require('crypto').webcrypto;
|
D | test-webcrypto-digest.js | 10 const { subtle } = require('crypto').webcrypto;
|
D | test-webcrypto-sign-verify-hmac.js | 9 const { subtle } = require('crypto').webcrypto;
|
/third_party/node/tools/doc/ |
D | type-parser.mjs | 83 'CryptoKey': 'webcrypto.html#class-cryptokey', 84 'CryptoKeyPair': 'webcrypto.html#class-cryptokeypair', 85 'Crypto': 'webcrypto.html#class-crypto', 86 'SubtleCrypto': 'webcrypto.html#class-subtlecrypto', 87 'RsaOaepParams': 'webcrypto.html#class-rsaoaepparams', 88 'AlgorithmIdentifier': 'webcrypto.html#class-algorithmidentifier', 89 'AesCtrParams': 'webcrypto.html#class-aesctrparams', 90 'AesCbcParams': 'webcrypto.html#class-aescbcparams', 91 'AesGcmParams': 'webcrypto.html#class-aesgcmparams', 92 'EcdhKeyDeriveParams': 'webcrypto.html#class-ecdhkeyderiveparams', [all …]
|
/third_party/node/benchmark/crypto/ |
D | webcrypto-digest.js | 6 webcrypto, 8 const { subtle } = webcrypto; 51 data = webcrypto.getRandomValues(Buffer.alloc(data));
|
/third_party/node/lib/internal/process/ |
D | pre_execution.js | 280 let webcrypto; 284 webcrypto ??= require('internal/crypto/webcrypto'); 285 return webcrypto.crypto; 289 webcrypto ??= require('internal/crypto/webcrypto'); 290 exposeInterface(globalThis, 'Crypto', webcrypto.Crypto); 291 exposeInterface(globalThis, 'CryptoKey', webcrypto.CryptoKey); 292 exposeInterface(globalThis, 'SubtleCrypto', webcrypto.SubtleCrypto);
|
/third_party/node/lib/ |
D | crypto.js | 124 let webcrypto; variable 126 webcrypto ??= require('internal/crypto/webcrypto'); 127 return webcrypto; 365 webcrypto: { property
|
/third_party/node/doc/api/ |
D | webcrypto.md | 36 Use `require('node:crypto').webcrypto` to access this module. 39 const { subtle } = require('node:crypto').webcrypto; 69 const { subtle } = require('node:crypto').webcrypto; 84 const { subtle } = require('node:crypto').webcrypto; 104 const { subtle } = require('node:crypto').webcrypto; 122 const { subtle } = require('node:crypto').webcrypto; 137 const { subtle } = require('node:crypto').webcrypto; 158 const crypto = require('node:crypto').webcrypto; 191 const { subtle } = require('node:crypto').webcrypto; 215 const { subtle } = require('node:crypto').webcrypto; [all …]
|
D | globals.md | 359 > [`--experimental-global-webcrypto`][] CLI flag. 372 > [`--experimental-global-webcrypto`][] CLI flag. 383 > [`--experimental-global-webcrypto`][] CLI flag. 745 > [`--experimental-global-webcrypto`][] CLI flag. 887 [Web Crypto API]: webcrypto.md 889 [`--experimental-global-webcrypto`]: cli.md#--experimental-global-webcrypto
|