You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove type parameters from Message and Signature, and remove unused Slice type
"Secret messages" was a nice idea - it made it possible to have constant time
verification of signatures so you didn't leak via side channel which signature
you were verifying. But since almost no one has this peculiar requirement it
created more friction than it was worth.
This simplifies the API by:
- Removing the secrecy type parameter from both Message and Signature types, making them always public
- Removing the unused Slice type from secp256kfun which was part of the secrecy marking system but wasn't being used
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@
8
8
-**BREAKING**: Refactor `CompactProof` in `sigma_fun` to use two type parameters `CompactProof<R, L>` instead of `CompactProof<S: Sigma>` to enable serde support
9
9
- Add `Message::new` for BIP340-compliant domain separation using 33-byte padded prefix
10
10
- Deprecate `Message::plain` which uses non-standard 64-byte prefix
11
+
- Remove type parameters from `Message` and `Signature` types (always public now)
0 commit comments