Lines Matching refs:crypto
10 const crypto = require('crypto'); constant
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),
107 () => crypto.createCipher('aes-256-cbc', 'secret').update(null),
116 () => crypto.createCipher('aes-256-cbc', 'secret').setAAD(null),
126 const Decipher = crypto.Decipher;
127 const instance = crypto.Decipher('aes-256-cbc', 'secret');
132 () => crypto.createDecipher(null),
141 () => crypto.createDecipher('aes-256-cbc', 'secret').setAuthTag(null),
150 () => crypto.createDecipher('aes-256-cbc', null),
162 const c = crypto.createCipher('aes-256-cbc', 'secret');
170 const c = crypto.createCipher('aes-256-cbc', 'secret');
174 const d = crypto.createDecipher('aes-256-cbc', 'secret');
183 const c = crypto.createCipher('aes192', '0123456789abcdef');
191 let c = crypto.createCipher('aes192', '0123456789abcdef');
195 c = crypto.createCipher('aes192', '0123456789abcdef');
199 c = crypto.createCipher('aes192', '0123456789abcdef');
208 const c = crypto.createCipher('aes192', key);
212 let decipher = crypto.createDecipher('aes192', key);
219 decipher = crypto.createDecipher('aes192', key);
224 decipher = crypto.createDecipher('aes192', key);
235 const decipher = crypto.createDecipher('aes-256-gcm', key);
247 const cipher = crypto.createCipher('aes-256-gcm', key);
262 const decipher = crypto.createDecipher('aes-256-gcm', key);