arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
miden-crypto/CHANGELOG.md
CHANGELOG.mdRaw
  1## 0.10.2 (2024-09-25)
  2
  3* Implement `get_size_hint` for `RpoDigest` and `RpxDigest` and expose constants for their serialized size (#330).
  4
  5## 0.10.1 (2024-09-13)
  6
  7* Added `Serializable` and `Deserializable` implementations for `PartialMmr` and `InOrderIndex` (#329).
  8
  9## 0.10.0 (2024-08-06)
 10
 11* Added more `RpoDigest` and `RpxDigest` conversions (#311).
 12* [BREAKING] Migrated to Winterfell v0.9 (#315).
 13* Fixed encoding of Falcon secret key (#319).
 14
 15## 0.9.3 (2024-04-24)
 16
 17* Added `RpxRandomCoin` struct (#307).
 18
 19## 0.9.2 (2024-04-21)
 20
 21* Implemented serialization for the `Smt` struct (#304).
 22* Fixed a bug in Falcon signature generation (#305).
 23
 24## 0.9.1 (2024-04-02)
 25
 26* Added `num_leaves()` method to `SimpleSmt` (#302).
 27
 28## 0.9.0 (2024-03-24)
 29
 30* [BREAKING] Removed deprecated re-exports from liballoc/libstd (#290).
 31* [BREAKING] Refactored RpoFalcon512 signature to work with pure Rust (#285).
 32* [BREAKING] Added `RngCore` as supertrait for `FeltRng` (#299).
 33
 34# 0.8.4 (2024-03-17)
 35
 36* Re-added unintentionally removed re-exported liballoc macros (`vec` and `format` macros).
 37
 38# 0.8.3 (2024-03-17)
 39
 40* Re-added unintentionally removed re-exported liballoc macros (#292).
 41
 42# 0.8.2 (2024-03-17)
 43
 44* Updated `no-std` approach to be in sync with winterfell v0.8.3 release (#290).
 45
 46## 0.8.1 (2024-02-21)
 47
 48* Fixed clippy warnings (#280)
 49
 50## 0.8.0 (2024-02-14)
 51
 52* Implemented the `PartialMmr` data structure (#195).
 53* Implemented RPX hash function (#201).
 54* Added `FeltRng` and `RpoRandomCoin` (#237).
 55* Accelerated RPO/RPX hash functions using AVX512 instructions (#234).
 56* Added `inner_nodes()` method to `PartialMmr` (#238).
 57* Improved `PartialMmr::apply_delta()` (#242).
 58* Refactored `SimpleSmt` struct (#245).
 59* Replaced `TieredSmt` struct with `Smt` struct (#254, #277).
 60* Updated Winterfell dependency to v0.8 (#275).
 61
 62## 0.7.1 (2023-10-10)
 63
 64* Fixed RPO Falcon signature build on Windows.
 65
 66## 0.7.0 (2023-10-05)
 67
 68* Replaced `MerklePathSet` with `PartialMerkleTree` (#165).
 69* Implemented clearing of nodes in `TieredSmt` (#173).
 70* Added ability to generate inclusion proofs for `TieredSmt` (#174).
 71* Implemented Falcon DSA (#179).
 72* Added conditional `serde`` support for various structs (#180).
 73* Implemented benchmarking for `TieredSmt` (#182).
 74* Added more leaf traversal methods for `MerkleStore` (#185).
 75* Added SVE acceleration for RPO hash function (#189).
 76
 77## 0.6.0 (2023-06-25)
 78
 79* [BREAKING] Added support for recording capabilities for `MerkleStore` (#162).
 80* [BREAKING] Refactored Merkle struct APIs to use `RpoDigest` instead of `Word` (#157).
 81* Added initial implementation of `PartialMerkleTree` (#156).
 82
 83## 0.5.0 (2023-05-26)
 84
 85* Implemented `TieredSmt` (#152, #153).
 86* Implemented ability to extract a subset of a `MerkleStore` (#151).
 87* Cleaned up `SimpleSmt` interface (#149).
 88* Decoupled hashing and padding of peaks in `Mmr` (#148).
 89* Added `inner_nodes()` to `MerkleStore` (#146).
 90
 91## 0.4.0 (2023-04-21)
 92
 93- Exported `MmrProof` from the crate (#137).
 94- Allowed merging of leaves in `MerkleStore` (#138).
 95- [BREAKING] Refactored how existing data structures are added to `MerkleStore` (#139).
 96
 97## 0.3.0 (2023-04-08)
 98
 99- Added `depth` parameter to SMT constructors in `MerkleStore` (#115).
100- Optimized MMR peak hashing for Miden VM (#120).
101- Added `get_leaf_depth` method to `MerkleStore` (#119).
102- Added inner node iterators to `MerkleTree`, `SimpleSmt`, and `Mmr` (#117, #118, #121).
103
104## 0.2.0 (2023-03-24)
105
106- Implemented `Mmr` and related structs (#67).
107- Implemented `MerkleStore` (#93, #94, #95, #107 #112).
108- Added benchmarks for `MerkleStore` vs. other structs (#97).
109- Added Merkle path containers (#99).
110- Fixed depth handling in `MerklePathSet` (#110).
111- Updated Winterfell dependency to v0.6.
112
113## 0.1.4 (2023-02-22)
114
115- Re-export winter-crypto Hasher, Digest & ElementHasher (#72)
116
117## 0.1.3 (2023-02-20)
118
119- Updated Winterfell dependency to v0.5.1 (#68)
120
121## 0.1.2 (2023-02-17)
122
123- Fixed `Rpo256::hash` pad that was panicking on input (#44)
124- Added `MerklePath` wrapper to encapsulate Merkle opening verification and root computation (#53)
125- Added `NodeIndex` Merkle wrapper to encapsulate Merkle tree traversal and mappings (#54)
126
127## 0.1.1 (2023-02-06)
128
129- Introduced `merge_in_domain` for the RPO hash function, to allow using a specified domain value in the second capacity register when hashing two digests together.
130- Added a simple sparse Merkle tree implementation.
131- Added re-exports of Winterfell RandomCoin and RandomCoinError.
132
133## 0.1.0 (2022-12-02)
134
135- Initial release on crates.io containing the cryptographic primitives used in Miden VM and the Miden Rollup.
136- Hash module with the BLAKE3 and Rescue Prime Optimized hash functions.
137    - BLAKE3 is implemented with 256-bit, 192-bit, or 160-bit output.
138    - RPO is implemented with 256-bit output.
139- Merkle module, with a set of data structures related to Merkle trees, implemented using the RPO hash function.