mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
needed this for some testing
This commit is contained in:
parent
b4e6be638a
commit
192b790981
2
prototypes/derive-keys.js
vendored
2
prototypes/derive-keys.js
vendored
@ -338,7 +338,7 @@ export class CryptoDriver {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function decodeBase64(base64) {
|
export function decodeBase64(base64) {
|
||||||
const binStr = window.atob(base64);
|
const binStr = window.atob(base64);
|
||||||
const len = binStr.length;
|
const len = binStr.length;
|
||||||
const bytes = new Uint8Array(len);
|
const bytes = new Uint8Array(len);
|
||||||
|
Loading…
Reference in New Issue
Block a user