2.2 KiB
2.2 KiB
Changelog
All notable changes to this library will be documented in this file.
The format is based on Keep a Changelog, and this library adheres to Rust's notion of Semantic Versioning.
[Unreleased]
Added
zcash_note_encryption::try_output_recovery_with_pkd_esk
[0.4.0] - 2023-06-06
Changed
- The
esk
andephemeral_key
arguments have been removed fromDomain::parse_note_plaintext_without_memo_ovk
. It is therefore no longer necessary (or possible) to ensure thatephemeral_key
is derived fromesk
and the diversifier within the note plaintext. We have analyzed the safety of this change in the context of callers withinzcash_note_encryption
andorchard
. See https://github.com/zcash/librustzcash/pull/848 and the associated issue https://github.com/zcash/librustzcash/issues/802 for additional detail.
[0.3.0] - 2023-03-22
Changed
- The
recipient
parameter has been removed fromDomain::note_plaintext_bytes
. - The
recipient
parameter has been removed fromNoteEncryption::new
. Since theDomain::Note
type is now expected to contain information about the recipient of the note, there is no longer any need to pass this information in via the encryption context.
[0.2.0] - 2022-10-13
Added
zcash_note_encryption::Domain
:Domain::PreparedEphemeralPublicKey
associated type.Domain::prepare_epk
method, which produces the above type.
Changed
- MSRV is now 1.56.1.
zcash_note_encryption::Domain
now requiresepk
to be converted toDomain::PreparedEphemeralPublicKey
before being passed toDomain::ka_agree_dec
.- Changes to batch decryption APIs:
- The return types of
batch::try_note_decryption
andbatch::try_compact_note_decryption
have changed. Now, instead of returning entries corresponding to the cartesian product of the IVKs used for decryption with the outputs being decrypted, this now returns a vector of decryption results of the same length and in the same order as theoutputs
argument to the function. Each successful result includes the index of the entry inivks
used to decrypt the value.
- The return types of
[0.1.0] - 2021-12-17
Initial release.