All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.13.0 - 2023-12-13
- Remove
uni_random
from scalar #135
0.12.3 - 2023-11-01
- Add
uni_random
scalar generation #125
- Change
Hash
derive onScalar
to explicit implementation #106
0.12.2 - 2023-10-11
- Fix
no-default-features
0.12.1 - 2023-10-11
- Expose
scalar::GENERATOR
constant
0.12.0 - 2023-06-07
- Align crate with upstream
zkcrypto/bls12_381
#117
0.11.3 - 2023-05-17
- Update issue links in CHANGELOG #84
0.11.2 - 2022-10-26
- Fixed
rkyv-impl
feature by bringing inrkyv/alloc
onalloc
feature - Make
g1
andg2
Archived*
structs only available onrkyv-impl
0.11.1 - 2022-10-19
- Add support for
rkyv-impl
underno_std
- Add wrapper type for
subtle::Choice
- Derive manual implementations of
rkyv
trait by introducing a wrapper for thesubtle::Choice
type
0.11.0 - 2022-08-17
- Add
rkyv-impl
feature - Add implementation of
CheckBytes
- Move
rkyv
-related implementations behind therkyv-impl
feature
Sized
bound fromG2Prepared
rkyv::Serialize
implementation #94
0.10.1 - 2022-07-27
rkyv
implementation behind feature gate #90- Derive
Hash
forBlsScalar
- Apply patches from
zkcrypto
to improve the efficiency #86
0.10.0 - 2022-05-25
- Change
invert
Scalar function signature #78
- Add
invert_ct
constant time Scalar inversion calculation #78
0.9.0 - 2022-02-24
- Update canonical and canonical_derive to v0.7
- Update rust edition to 2021
0.8.0 - 2021-04-28
- Fix
canonical-0.6
impl bugs. #61
- Remove unnecessary
.into()
calls. #67
0.7.0 - 2021-04-12
parallel
feature inclusion. #54
- Update
canonical
to0.6
. #58
0.6.0 - 2021-01-27
- Canonical updated to v0.5 #52
0.5.2 - 2021-01-25
- Incorrect encoding for unchecked bytes serialization #50
0.5.1 - 2021-01-22
- Update dusk-bytes and implement hex format tests
0.5.0 - 2021-01-21
- to/from bytes methods of BlsScalar, G1Affine, G2Affine refactored in favor of dusk-bytes
- Included
G1Affine::to_raw_bytes
andG1Affine::from_slice_unchecked
- Included
G2Affine::to_raw_bytes
andG2Affine::from_slice_unchecked
- Included
G2Prepared::to_raw_bytes
andG2Prepared::from_slice_unchecked
0.4.0 - 2020-12-24
- no-std compatibility for pairings feature
- isolate serde with
serde_req
feature
0.3.0 - 2020-11-08
- no-std compatibility
- export scalar as
BlsScalar
0.2.0 - 2020-11-03
- Add
Canon
behind feature flag
0.1.5 - 2020-10-29
- Derive Canon traits for Scalar
0.1.4 - 2020-09-11
- Update
subtle
from2.2.1
to2.3.0
- Fix benchmarks
0.1.3 - 2020-08-11
- Add
is_one
andis_zero
forScalar
- Add
pow_of_2
forScalar
0.1.2 - 2020-07-20
- Add
random
forScalar
- Add
Serde
forG2Prepared
,Fp6
,Fp2
,Fp
,G2Affine
,G1Affine
,Scalar
- Add
Product
,Sum
,PartialOrd
,Ord
,Xor
andAnd
forScalar
- Add
reduce
method forScalar
- Add
std
feature as default feature
- Change
to_base_4
method ofScalar
- Rename
S
toTWO_ADACITY
and export it