correct encrypting function for encypting name
This commit is contained in:
parent
3bb46238f1
commit
e4ef214711
|
@ -222,7 +222,7 @@ export const AddCollection = async (
|
||||||
const {
|
const {
|
||||||
encryptedData: encryptedName,
|
encryptedData: encryptedName,
|
||||||
nonce: nameDecryptionNonce,
|
nonce: nameDecryptionNonce,
|
||||||
}: B64EncryptionResult = await worker.encryptToB64(
|
}: B64EncryptionResult = await worker.encryptUTF8(
|
||||||
collectionName,
|
collectionName,
|
||||||
collectionKey
|
collectionKey
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue