correct encrypting function for encypting name

This commit is contained in:
Abhinav-grd 2021-02-16 18:46:24 +05:30
parent 3bb46238f1
commit e4ef214711

View file

@ -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
); );