@@ -163,10 +163,10 @@ impl<Ids: KeyIds> KeyStore<Ids> {
163
163
data. encrypt ( & mut self . context ( ) , key)
164
164
}
165
165
166
- /// Decrypt a list of items using this key store. The keys returned by `data[i].key_identifier()` must
167
- /// already be present in the store, otherwise this will return an error.
168
- /// This method will try to parallelize the decryption of the items, for better performance on
169
- /// large lists.
166
+ /// Decrypt a list of items using this key store. The keys returned by
167
+ /// `data[i].key_identifier()` must already be present in the store, otherwise this will
168
+ /// return an error. This method will try to parallelize the decryption of the items, for
169
+ /// better performance on large lists.
170
170
pub fn decrypt_list <
171
171
Key : KeyId ,
172
172
Data : Decryptable < Ids , Key , Output > + IdentifyKey < Key > + Send + Sync ,
@@ -196,10 +196,11 @@ impl<Ids: KeyIds> KeyStore<Ids> {
196
196
res
197
197
}
198
198
199
- /// Encrypt a list of items using this key store. The keys returned by `data[i].key_identifier()` must
200
- /// already be present in the store, otherwise this will return an error.
201
- /// This method will try to parallelize the encryption of the items, for better performance on
202
- /// large lists. This method is not parallelized, and is meant for single item encryption.
199
+ /// Encrypt a list of items using this key store. The keys returned by
200
+ /// `data[i].key_identifier()` must already be present in the store, otherwise this will
201
+ /// return an error. This method will try to parallelize the encryption of the items, for
202
+ /// better performance on large lists. This method is not parallelized, and is meant for
203
+ /// single item encryption.
203
204
pub fn encrypt_list <
204
205
Key : KeyId ,
205
206
Data : Encryptable < Ids , Key , Output > + IdentifyKey < Key > + Send + Sync ,
0 commit comments