@1auth/crypto 0.0.0-alpha.42 → 0.0.0-alpha.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -229,7 +229,7 @@ export const makeSymetricKey = (sub) => {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
// sub add context to encryption
|
|
232
|
-
export const
|
|
232
|
+
export const symmetricEncryptFields = (
|
|
233
233
|
values,
|
|
234
234
|
{ encryptedKey, encryptionKey, sub },
|
|
235
235
|
fields = []
|
|
@@ -283,7 +283,7 @@ export const symetricEncrypt = (
|
|
|
283
283
|
return encryptedDataPacket
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
export const
|
|
286
|
+
export const symmetricDecryptFields = (
|
|
287
287
|
encryptedValues,
|
|
288
288
|
{ encryptedKey, encryptionKey, sub },
|
|
289
289
|
fields = []
|