Skip to content

Document and test maximum deriveBits length for ECDH curves#249

Open
harrshita123 wants to merge 1 commit intogoogle:masterfrom
harrshita123:issue-130-ecdh-derivebits-docs
Open

Document and test maximum deriveBits length for ECDH curves#249
harrshita123 wants to merge 1 commit intogoogle:masterfrom
harrshita123:issue-130-ecdh-derivebits-docs

Conversation

@harrshita123
Copy link

This PR adds documentation clarifying the maximum number of bits that can be derived using EcdhPrivateKey.deriveBits for each supported elliptic curve.

It also includes tests to ensure that deriving the maximum allowed length succeeds and that requests exceeding the limit are correctly rejected.

Fixes #130

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.

Document the maximum length in EcdhPrivateKey.deriveBits for each curve

1 participant