Skip to content

Releases: enquo/cretrit

CAUTION: Incompatibility Ahead

03 May 03:34
163ee9e
Compare
Choose a tag to compare

This release incorporates quite a lot of changes I've made as a result of enabling about a thousand rustc and clippy lints, and reviewing the API for ugliness.
The changes range from the trivial (make sure everything marked pub is actually exported) through the useful (lots and lots of docs) through to the really rather important (remove as much panic-able code as possible).
It also includes some quality-of-life improvements (such as fewer and better lifetimes).

Included as part of this is a certain amount of API and data format breakage due to, for example, returning Results in places where previously the code would have just panicked.
My apologies, but in return there's much less chance of something inconsequential taking down your entire application, so that's... good, I guess?

Remove leftover dbg!

27 Mar 01:03
07bb5c6
Compare
Choose a tag to compare

PlainText::From<bool> support

27 Mar 00:23
c4fe4c9
Compare
Choose a tag to compare

Only two possible values, but why should you let an attacker know anything?

Allow Cipher creation from pre-initialized PRF/PRP/RNG

06 Oct 06:11
05f147b
Compare
Choose a tag to compare

Something of a niche use-case, perhaps, but if you have a hankering to do it, now you can.

Documentation bugfixes

04 Oct 21:41
c37dc8c
Compare
Choose a tag to compare

This release only fixes the README so that the examples are valid Rust.
To ensure this sort of shenanigan doesn't happen again, the examples are now also valid doctests.

Safety First!

03 Oct 04:33
b561bb3
Compare
Choose a tag to compare

This release renames the Cipher.encrypt function to Cipher.full_encrypt, and introduces a Cipher.right_encrypt, which allows callers to decide when they don't need to take the risk of possibly leaking a left ciphertext.
There's also an improvement to comparisons to avoid leaking the difference block via timing.

Initial Release

01 Oct 03:18
79cf9a8
Compare
Choose a tag to compare

It works. No doubt many improvements will be forthcoming.