Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0: massively reduce library size, remove features #76

Merged
merged 18 commits into from
Mar 16, 2023
Merged

v2.0: massively reduce library size, remove features #76

merged 18 commits into from
Mar 16, 2023

Conversation

paulmillr
Copy link
Owner

@paulmillr paulmillr commented Jan 24, 2023

  • Swapped async and sync method names:
    • ed.sync.getPublicKey, sync.sign, sign.verify is now just getPublicKey, sign, verify
    • Async methods are now getPublicKeyAsync, signAsync, verifyAsync
  • Point was removed: use ExtendedPoint in xyzt coordinates
  • Signature was removed
  • getSharedSecret and Ristretto functionality had been moved to noble-curves
  • bigint is no longer allowed in getPublicKey, sign, verify. Reason: ed25519 is LE, can lead to bugs

secp256k1: paulmillr/noble-secp256k1#92

@paulmillr paulmillr changed the title Massively reduce package size v2.0: reduce library by 1000 lines of code Feb 4, 2023
@paulmillr paulmillr changed the title v2.0: reduce library by 1000 lines of code v2.0: massively reduce library size, remove features Feb 9, 2023
@paulmillr paulmillr merged commit 641a346 into main Mar 16, 2023
@paulmillr paulmillr deleted the micro branch March 21, 2023 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant