635b2382e7
Changed SHA from lib to browser's crypto
8 lines
199 B
JavaScript
8 lines
199 B
JavaScript
const webCrypto = require('@peculiar/webcrypto');
|
|
const textEncoding = require('text-encoding');
|
|
|
|
window.crypto = new webCrypto.Crypto();
|
|
window.TextEncoder = textEncoding.TextEncoder;
|
|
|
|
const a = 1;
|