Lines Matching refs:Uint8Array
27 return this.createOpenSSLCryptString(salt, new Uint8Array(cipher));
81 return crypto.getRandomValues(new Uint8Array(8));
98 salt: new Uint8Array(Array.from(ostring.slice(8, 16)).map(ch => ch.charCodeAt(0))),
99 cipher: new Uint8Array(Array.from(ostring.slice(16)).map(ch => ch.charCodeAt(0))),
111 const concat = new Uint8Array([
145 const buffer = new Uint8Array(dk);
164 const D1 = md5.array(new Uint8Array([...password, ...salt]));
165 const D2 = md5.array(new Uint8Array([...D1, ...password, ...salt]));
166 const D3 = md5.array(new Uint8Array([...D2, ...password, ...salt]));
169 hash: new Uint8Array([...D1, ...D2]),
170 iv: new Uint8Array(D3),