Lines Matching refs:crypto
5 common.skip('missing crypto');
10 const crypto = require('crypto');
18 ['crypto.createCipher is deprecated.', 'DEP0106'],
25 const cipher = crypto.createCipher('aes192', key);
33 const decipher = crypto.createDecipher('aes192', key);
43 const cStream = crypto.createCipher('aes192', key);
47 const dStream = crypto.createDecipher('aes192', key);
62 const cipher = crypto.createCipher('aes256', key);
69 const decipher = crypto.createDecipher('aes256', key);
83 const Cipher = crypto.Cipher;
84 const instance = crypto.Cipher('aes-256-cbc', 'secret');
89 () => crypto.createCipher(null),
98 () => crypto.createCipher('aes-256-cbc', null),
105 () => crypto.createCipher('aes-256-cbc', 'secret').update(null),
112 () => crypto.createCipher('aes-256-cbc', 'secret').setAAD(null),
120 const Decipher = crypto.Decipher;
121 const instance = crypto.Decipher('aes-256-cbc', 'secret');
126 () => crypto.createDecipher(null),
135 () => crypto.createDecipher('aes-256-cbc', 'secret').setAuthTag(null),
142 () => crypto.createDecipher('aes-256-cbc', null),
152 const c = crypto.createCipher('aes-256-cbc', 'secret');
160 const c = crypto.createCipher('aes-256-cbc', 'secret');
164 const d = crypto.createDecipher('aes-256-cbc', 'secret');
173 const c = crypto.createCipher('aes192', '0123456789abcdef');
181 let c = crypto.createCipher('aes192', '0123456789abcdef');
185 c = crypto.createCipher('aes192', '0123456789abcdef');
189 c = crypto.createCipher('aes192', '0123456789abcdef');
198 const c = crypto.createCipher('aes192', key);
202 let decipher = crypto.createDecipher('aes192', key);
209 decipher = crypto.createDecipher('aes192', key);
214 decipher = crypto.createDecipher('aes192', key);
225 const decipher = crypto.createDecipher('aes-256-gcm', key);
235 const data = Buffer.from('test-crypto-cipher-decipher');
237 const cipher = crypto.createCipher('aes-256-gcm', key);
252 const decipher = crypto.createDecipher('aes-256-gcm', key);