Now wrapping up...
This commit is contained in:
@@ -17,6 +17,8 @@ export let encrypt_content = async function encrypt_content(
|
||||
return { base64, iv };
|
||||
}
|
||||
|
||||
|
||||
// This does not handle errors (invalid key/password) well.
|
||||
export let decrypt_content = async function decrypt_content(
|
||||
base64Content: string, iv: Uint8Array, keyData: string
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user