You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/protect/README.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -530,7 +530,8 @@ They automatically handle the mapping between your model's structure and the enc
530
530
531
531
### Bulk operations
532
532
533
-
Protect.js provides direct access to ZeroKMS bulk operations through the `bulkEncrypt` and `bulkDecrypt` methods. These methods are ideal when you need maximum performance and want to handle the correlation between encrypted/decrypted values and your application data manually.
533
+
Protect.js provides direct access to ZeroKMS bulk operations through the `bulkEncrypt` and `bulkDecrypt` methods.
534
+
These methods are ideal when you need maximum performance and want to handle the correlation between encrypted/decrypted values and your application data manually.
534
535
535
536
> [!TIP]
536
537
> The bulk operations provide the most direct interface to ZeroKMS's blazing fast bulk encryption and decryption capabilities. Each value gets a unique key while maintaining optimal performance through a single call to ZeroKMS.
@@ -628,7 +629,8 @@ The `bulkDecrypt` method returns an array of objects with the following structur
628
629
629
630
#### Response structure
630
631
631
-
The `bulkDecrypt` method returns a `Result` object that represents the overall operation status. When successful from an HTTP and execution perspective, the `data` field contains an array where each item can have one of two outcomes:
632
+
The `bulkDecrypt` method returns a `Result` object that represents the overall operation status.
633
+
When successful from an HTTP and execution perspective, the `data` field contains an array where each item can have one of two outcomes:
632
634
633
635
-**Success**: The item has a `data` field containing the decrypted plaintext
634
636
-**Failure**: The item has an `error` field containing a specific error message explaining why that particular decryption failed
0 commit comments