add progress bar to data transfer
This commit is contained in:
@@ -5,10 +5,10 @@ const ENCRYPTION_ALG = "AES-GCM";
|
||||
|
||||
// random
|
||||
export function random(length: number): string {
|
||||
return cryptoRandomString({length})
|
||||
return cryptoRandomString({ length });
|
||||
}
|
||||
|
||||
// encrypt
|
||||
// encrypt
|
||||
export async function encryptString(
|
||||
plaintext: string,
|
||||
passphrase: string,
|
||||
|
||||
Reference in New Issue
Block a user