summaryrefslogtreecommitdiff
path: root/src/cipher.rs
AgeCommit message (Collapse)AuthorFilesLines
2024-03-03chore: upgrade dependency on aes-gcmLars Wirzenius1-1/+1
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
2022-04-16refactor: rename Checksum to LabelLars Wirzenius1-3/+3
Label is a clearer and more accurate name for the type now that it is not just a checksum. Also, serialize a Label in tests, rather than using string literals. This is more correct, and we'll be changing serialization later. Sponsored-by: author
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+27
Also, make it an error for a public symbol to not be documented. Sponsored-by: author
2021-09-18refactor: define a Checksum type and use it where appropriateLars Wirzenius1-2/+5
This will make it harder to compare, say, a SHA-256 and a SHA3, later, when we add more checksum types. Sponsored-by: author
2021-07-30cleanup: fix things rustc/clipppy now complain aboutLars Wirzenius1-1/+1
Mostly https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow. Sponsored-by: author
2021-06-04feat: do not panic if chunk nonce is unexpectedly shortAlexander Batischev1-8/+27
Fixes #119.
2021-05-31feat: add chunk encryptionLars Wirzenius1-0/+200