HomePhabricator

[electrum] move .encrypt method to ECPubkey class

Description

[electrum] move .encrypt method to ECPubkey class

Summary:
This just makes more sense than having it as a classmethod of the private key class and requiring the pubkey to be provided as an argument.

Depends on D16675

Test Plan: python test_runner.py

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D16677

Details

Provenance
PiRKAuthored on Aug 23 2024, 19:00
PiRKPushed on Aug 28 2024, 06:26
Reviewer
Restricted Project
Differential Revision
D16677: [electrum] move .encrypt method to ECPubkey class
Parents
rABC1c69a840da62: [electrum] don't use ecdsa for basic bytes <-> int conversion
Branches
Unknown
Tags
Unknown