1- Changelog
2- =========
1+ # Changelog
32
4- #### Version 3.9.1 (2024-05-07)
3+ ## Version 4.0.0 (2025-02-12)
4+
5+ * Add support for utf-16 in ans1_bmp_string.dart
6+ * Add new oid for secp256r1 (PR #249 )
7+ * Fix nullsafety error in padded_block_cipher_impl.dart (PR #254 )
8+ * Fix ASN1Parser length parsing (PR #250 )
9+ * Remove unused js dependency (PR #251 )
10+ * Add new oids (PR #240 )
11+ * Add new oids for elliptic curves (PR #242 )
12+ * Add Blowfish, Camellia, Twofish block cipher engines (PR #246 )
13+ * Reformat CHANGELOG.md to match markdown standards
14+ * Add factory for SHA512 in RSA-OAEP (PR #227 )
15+ * Add generics to generateKeyPair #191
16+
17+ ## Version 3.9.1 (2024-05-07)
518
619* Add crypto in topics to pubspec.yaml (PR #237 )
720* remove unnecessary ! operator from some files (PR #236 )
821
9- #### Version 3.9.0 (2024-04-19)
22+ ## Version 3.9.0 (2024-04-19)
1023
1124* Update minimum SDK version to 3.2.0 (PR #231 )
1225
13- #### Version 3.8.0 (2024-03-24)
26+ ## Version 3.8.0 (2024-03-24)
1427
1528* Add dart2wasm support (PR #225 )
1629
17- #### Version 3.7.4 (2024-01-15)
30+ ## Version 3.7.4 (2024-01-15)
1831
1932* Support the latest version of ` package:js ` . (PR #220 )
2033* Require Dart v3.0 (PR #220 )
2134* Support parsing of nested objects with indefinite lengths (PR #215 )
2235
23- #### Version 3.7.3 (2023-04-14)
36+ ## Version 3.7.3 (2023-04-14)
2437
2538* PSSSigner requires only salt length to verify signature
2639
27- #### Version 3.7.2 (2023-03-23)
40+ ## Version 3.7.2 (2023-03-23)
2841
2942* Removed duplicate oids
3043
31- #### Version 3.7.1 (2023-03-21)
44+ ## Version 3.7.1 (2023-03-21)
3245
3346* Fix linter warnings
3447* Added new oids
3548
36- #### Version 3.7.0 (2023-03-16)
49+ ## Version 3.7.0 (2023-03-16)
3750
3851* Added RC2
3952* Added RC4
@@ -46,36 +59,36 @@ Changelog
4659* Linting
4760* Fix to BasePadding
4861
49- #### Version 3.6.2 (2022-09-09)
62+ ## Version 3.6.2 (2022-09-09)
5063
5164* Added OIDs 2.16.840.1.114412.1.1/digiCertOVCert and
5265* 2.23.140.1.2.2/organization-validated
5366
54- #### Version 3.6.1 (2022-06-19)
67+ ## Version 3.6.1 (2022-06-19)
5568
5669* Added OID 2.5.4.26/registeredAddress
5770* Support ASN1 tag 164
5871
59- #### Version 3.6.0 (2022-04-27)
72+ ## Version 3.6.0 (2022-04-27)
6073
6174* Added ECDH Basic Agreement
6275* Added ConcatKDF
6376
64- #### Version 3.5.2 (2022-03-07)
77+ ## Version 3.5.2 (2022-03-07)
6578
6679* Added secp521r1 OID
6780
68- #### Version 3.5.1 (2022-02-08)
81+ ## Version 3.5.1 (2022-02-08)
6982
7083* Added ASN1BMPString
7184* Added emailAddress OID
7285
73- #### Version 3.5.0 (2021-12-30)
86+ ## Version 3.5.0 (2021-12-30)
7487
7588* RSAES-OAEP with SHA256 or any digest instance.
7689* Fixed bug in Keccak when updating with single bytes.
7790
78- #### Version 3.4.0 (2021-11-09)
91+ ## Version 3.4.0 (2021-11-09)
7992
8093* Security update, fixed timing leaking in GCM implementation.
8194* Fixed bug in GCM counter.
@@ -84,51 +97,51 @@ Changelog
8497* Security update, AESFastEngine is open to timing attacks, this has been deprecated and replaced with AESEngine.
8598* validateMac in BaseAEADBlockCipher is now constant time.
8699
87- #### Version 3.4.0-rc2
100+ ## Version 3.4.0-rc2
88101
89102* Security update, fixed timing leaking in GCM implementation.
90103* Fixed bug in GCM counter.
91104* Added constant time gated xor.
92105* Removed more references to AESFastEngine.
93106
94- #### Version 3.4.0-rc1
107+ ## Version 3.4.0-rc1
95108
96109* Security update, AESFastEngine is open to timing attacks, this has been deprecated and replaced with AESEngine.
97110* validateMac in BaseAEADBlockCipher is now constant time.
98111
99- #### Version 3.3.5 (2021-10-27)
112+ ## Version 3.3.5 (2021-10-27)
100113
101114* New OID
102115
103- #### Version 3.3.4 (2021-09-07)
116+ ## Version 3.3.4 (2021-09-07)
104117
105118* Performance update to scrypt
106119* SM3 implementation
107120
108- #### Version 3.3.3 (2021-09-03)
121+ ## Version 3.3.3 (2021-09-03)
109122
110123* Argon2 in js environments.
111124
112- #### Version 3.3.2 (2021-08-27)
125+ ## Version 3.3.2 (2021-08-27)
113126
114127* New OIDs
115128
116- #### Version 3.3.1 (2021-08-18)
129+ ## Version 3.3.1 (2021-08-18)
117130
118131* Update to Register64 mul(...)
119132* New OID
120133
121- #### Version 3.3.0 (2021-08-12)
134+ ## Version 3.3.0 (2021-08-12)
122135
123136* ECElGamal Encryptor and Decryptor
124137
125- #### Version 3.2.0 (2021-07-29)
138+ ## Version 3.2.0 (2021-07-29)
126139
127140* Better ASN1 Dump
128141* New OIDs
129142* ASN1 Fixes
130143
131- #### Version 3.2.0-rc0 (2021-07-05)
144+ ## Version 3.2.0-rc0 (2021-07-05)
132145
133146* Extended platform detection to supply entropy source, this works on nodejs.
134147* Critical fix to the examples:
@@ -139,49 +152,49 @@ Changelog
139152
140153 ``` Platform.instance.platformEntropySource().getBytes(_how many_) ``` to provide the seed.
141154
142- #### Version 3.1.3 (2021-06-29)
155+ ## Version 3.1.3 (2021-06-29)
143156
144157* Add Argon2
145158* Fix to ASN1 parsing, calculation of start position.
146159
147- #### Version 3.1.2 (2021-06-17)
160+ ## Version 3.1.2 (2021-06-17)
148161
149- * Critical fixed to Blake2b and additional test vectors see https://github.com/bcgit/pc-dart/pull/108
162+ * Critical fixed to Blake2b and additional test vectors see < https://github.com/bcgit/pc-dart/pull/108 >
150163
151- #### Version 3.1.1 (2021-06-04)
164+ ## Version 3.1.1 (2021-06-04)
152165
153166* Updated pubspec
154167
155- #### Version 3.1.0 (2021-05-31)
168+ ## Version 3.1.0 (2021-05-31)
156169
157170* SRP support
158171* Readme correction
159172* not published
160173
161- #### Version 3.0.1 (2021-03-24)
174+ ## Version 3.0.1 (2021-03-24)
162175
163176First non-nullable-by-default release
164177
165- #### Version 3.0.0-nullsafety.2 (2021-02-05)
178+ ## Version 3.0.0-nullsafety.2 (2021-02-05)
166179
167180* Ports this library to non-nullable-by-default, a new feature in the Dart language
168181* This is a breaking change: client code (libraries and apps) will have to migrate as well to use new releases of this
169182 library.
170183* This library's existing APIs should not have changed functionally from Version 2.0.1; any such change should be
171- reported at https://github.com/bcgit/pc-dart/issues
184+ reported at < https://github.com/bcgit/pc-dart/issues >
172185* The block cipher modes IGE and CCM were also added in this update.
173- * More info about migration: https://dart.dev/null-safety/migration-guide
174- * More info about null safety: https://dart.dev/null-safety
186+ * More info about migration: < https://dart.dev/null-safety/migration-guide >
187+ * More info about null safety: < https://dart.dev/null-safety >
175188
176- #### Version 3.0.0-nullsafety.1
189+ ## Version 3.0.0-nullsafety.1
177190
178191* not published
179192
180- #### Version 3.0.0-nullsafety.0
193+ ## Version 3.0.0-nullsafety.0
181194
182195* not published
183196
184- #### Version 2.0.1 (2021-01-16)
197+ ## Version 2.0.1 (2021-01-16)
185198
186199* Bug fix, ASN1Utils
187200* Removal of 'dart: io '
@@ -192,23 +205,24 @@ may cause sudden unexpected failures if a number is suddenly negative. Users are
192205decodeBigInt and encodeBigInt.
193206
194207** utils.dart:**
195- - decodeBigInt is twos compliment.
196- - encodeBigInt is twos compliment and adds padding to preserve sign.
197- - encodeBigIntAsUnsigned writes the magnitude without any padding.
198- - decodeBigIntWithSign allows the specification of an arbitrary sign.
199- - Previous uses of decodeBigInt where the expectation is an unsigned integer have been updated with
208+
209+ * decodeBigInt is twos compliment.
210+ * encodeBigInt is twos compliment and adds padding to preserve sign.
211+ * encodeBigIntAsUnsigned writes the magnitude without any padding.
212+ * decodeBigIntWithSign allows the specification of an arbitrary sign.
213+ * Previous uses of decodeBigInt where the expectation is an unsigned integer have been updated with
200214 decodeBigIntWithSign(1, magnitude).
201215
202- #### Version 2.0.0 (2020-10-02)
216+ ## Version 2.0.0 (2020-10-02)
203217
204218* No changes from 2.0.0-rc2
205219
206- #### Version 2.0.0-rc2 (2020-09-25)
220+ ## Version 2.0.0-rc2 (2020-09-25)
207221
208222* Linter Fixes
209223* Updates to ASN1 API
210224
211- #### Version 2.0.0-rc1 (2020-09-11) (Dart SDK version 2.1.1)
225+ ## Version 2.0.0-rc1 (2020-09-11) (Dart SDK version 2.1.1)
212226
213227* Fixed OAEPEncoding and PKCS1Encoding to use provided output offset value.
214228* Fixed RSA block length and offset checks in RSAEngine.processBlock.
@@ -221,40 +235,39 @@ decodeBigInt and encodeBigInt.
221235* Reduce copies in CBC mode.
222236* Linter issues fixed.
223237* FixedSecureRandom to use seed only once.
224- * ASN1 - BOOLEAN, INTEGER, BIT_STRING, OCTET_STRING, NULL, OBJECT_IDENTIFIER,
238+ * ASN1 - BOOLEAN, INTEGER, BIT_STRING, OCTET_STRING, NULL, OBJECT_IDENTIFIER,
225239 ENUMERATED, UTF8_STRING, SEQUENCE, SET, PRINTABLE_STRING, IA5_STRING & UTC_TIME
226240* ASN1 Encoding - DER & BER
227241* RSA Keys - Private Key carries public key exponent, added publicExponent and privateExponent where necessary
228242 and deprecated single variable getters in for those values.
229243
230- ##### Thanks, Steven
231- At this release the Point Castle Crypto API has been fully handed over to the
232- Legion of the Bouncy Castle Inc. Steven Roose, it is no small thing to single headedly
233- manage a cryptography API and your effort is rightfully respected by the Pointy Castle user
244+ ### Thanks, Steven
245+
246+ At this release the Point Castle Crypto API has been fully handed over to the
247+ Legion of the Bouncy Castle Inc. Steven Roose, it is no small thing to single headedly
248+ manage a cryptography API and your effort is rightfully respected by the Pointy Castle user
234249 base. We would like to thank you for your trust in us to carry the project forward, and we
235250 wish you all the best!
236251
237-
238- #### Version 1.0.2 (2019-11-15)
252+ ## Version 1.0.2 (2019-11-15)
239253
240254* Add non-Keccak SHA3 support
241255* Add CMAC support ("AES/CMAC")
242256* Add ISO7816-4 padding support
243257* Fixes in CBCBlockCipherMac and CMac
244258
245- #### Version 1.0.1 (2019-02-20)
259+ ## Version 1.0.1 (2019-02-20)
246260
247261* Add Blake2b support
248262
249- #### Version 1.0.0 (2018-12-17) (Dart SDK version 2.0)
263+ ## Version 1.0.0 (2018-12-17) (Dart SDK version 2.0)
250264
251265* Support Dart 2 and Strong Mode
252266* Migrate from ` package:bignum.BigInteger ` to ` dart:core.BigInt `
253267* Remove Quiver and fixnum dependency
254268* OAEP encoding for block ciphers
255269
256-
257- #### Version 0.10.0 (2016-02-04) (Dart SDK version 0.14.0)
270+ ## Version 0.10.0 (2016-02-04) (Dart SDK version 0.14.0)
258271
259272* First Pointy Castle release.
260273
@@ -265,17 +278,15 @@ decodeBigInt and encodeBigInt.
265278
266279* Migrated from unittest to test package.
267280
268-
269281### cipher releases
270282
271- #### Version 0.8.0 (2014-??-??) (Dart SDK version ???)
283+ ## Version 0.8.0 (2014-??-??) (Dart SDK version ???)
272284
273- * ** [ bug 80] ** PaddedBlockCipher doesn't add padding when data length is a multiple of the block
285+ * ** [ bug 80] ** PaddedBlockCipher doesn't add padding when data length is a multiple of the block
274286 size. This fix introduces a ** BREAKING CHANGE** in PaddedBlockCipher specification.
275287 Read its API documentation to know about the changes.
276288
277-
278- #### Version 0.7.0 (2014-03-22) (Dart SDK version 1.3.0-dev.5.2)
289+ ## Version 0.7.0 (2014-03-22) (Dart SDK version 1.3.0-dev.5.2)
279290
280291* ** [ enh 15] ** Implement stream cipher benchmarks.
281292* ** [ enh 64] ** Benchmark and optimize digests.
0 commit comments