Skip to content

Conversation

tcharding
Copy link
Member

As we did elsewhere add a new function and deprecate the old one.

Done for the two places we missed:

  • ecdh::SharedSecret
  • Keypair

Close: #845

As we did elsewhere add a new function and deprecate the old one.

Done for the two places we missed:

- `ecdh::SharedSecret`
- `Keypair`

Close: rust-bitcoin#845
@tcharding tcharding changed the title Rename secret_bytes to to_secret_bytes Rename secret_bytes to to_secret_bytes Sep 24, 2025
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fc269ee; successfully ran local tests

@apoelstra apoelstra merged commit 5443076 into rust-bitcoin:master Sep 24, 2025
28 checks passed
chain-forgexcr45 added a commit to chain-forgexcr45/rust-secp256k1 that referenced this pull request Sep 28, 2025
…ecret_bytes`

fc269eedd8a49cd5a61c372e803f6d7d3e8fc376 Rename secret_bytes to to_secret_bytes (Tobin C. Harding)

Pull request description:

  As we did elsewhere add a new function and deprecate the old one.
  
  Done for the two places we missed:
  
  - `ecdh::SharedSecret`
  - `Keypair`
  
  Close: #845


ACKs for top commit:
  apoelstra:
    ACK fc269eedd8a49cd5a61c372e803f6d7d3e8fc376; successfully ran local tests


Tree-SHA512: a9a374978c2f5a6d37464acd3c00e5e9487f30f07987c9e69e39cf4419ce85fbc39f4c5e03d42abdec25356d143f9bfcf3944e024cd6f804a7a3afb468cee76d
william2332-limf added a commit to william2332-limf/rust-secp256k1 that referenced this pull request Oct 2, 2025
…ecret_bytes`

fc269eedd8a49cd5a61c372e803f6d7d3e8fc376 Rename secret_bytes to to_secret_bytes (Tobin C. Harding)

Pull request description:

  As we did elsewhere add a new function and deprecate the old one.
  
  Done for the two places we missed:
  
  - `ecdh::SharedSecret`
  - `Keypair`
  
  Close: #845


ACKs for top commit:
  apoelstra:
    ACK fc269eedd8a49cd5a61c372e803f6d7d3e8fc376; successfully ran local tests


Tree-SHA512: a9a374978c2f5a6d37464acd3c00e5e9487f30f07987c9e69e39cf4419ce85fbc39f4c5e03d42abdec25356d143f9bfcf3944e024cd6f804a7a3afb468cee76d
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.

secret_bytes rename to to_secret_bytes
3 participants