forked from phpecc/phpecc
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca6c02d
commit 5ab9f95
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
phpecc 2.2.0 | ||
|
||
# Performance and Security Enhancements | ||
|
||
* Implemented constant-time complete point arithmetic for **secp256k1** | ||
* Implemented constant-time complete point arithmetic for **NIST P-521** | ||
* PHP 8.2+: most public API parameters are marked as `SensitiveParameter` | ||
* PHP 8.1+ with OpenSSL v3+: PHPECC will now prefer OpenSSL if it's available. | ||
|
||
To disable OpenSSL for a specific operation, you can call `disableOpenssl()` on the | ||
`Signer`, `EcDH`, or `NamedCurveFp` classes. To re-enable OpenSSL, the `enableOpenssl()` | ||
method is provided. | ||
|
||
```php | ||
$curve = $bobPublicKey->getCurve(); | ||
$curve->disableOpenssl(); | ||
``` | ||
|
||
**Note**: Due to an issue reported by @mayestik1 in #20 we are no longer specifying a `replace` | ||
directive in our composer.json for `mdanter/ecc`, |