We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9567136 commit 44a413bCopy full SHA for 44a413b
src/util/storable_builder.rs
@@ -37,8 +37,8 @@ impl StorableBuilder {
37
Storable {
38
data: data_blob,
39
encryption_metadata: Some(EncryptionMetadata {
40
- nonce: nonce.to_vec(),
41
- tag: tag.to_vec(),
+ nonce: Vec::from(nonce),
+ tag: Vec::from(tag),
42
cipher_format: CHACHA20_CIPHER_NAME.to_string(),
43
}),
44
}
0 commit comments