Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
= HDetEcKey
HDetEcKey is a Ruby implement of https://en.bitcoin.it/wiki/Deterministic_Wallet[Hierachical Deterministic wallets] according to the specification https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki[BIP0032].
== What is use for ?
== How to get it !
Or in a neer future:
=== Prerequistes
Support of other version of Ruby should be possible.
== Usage
For more details about how Herarchical Deterministic Wallet works, please see the https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki[BIP0032] specifications.
=== Generate master key
First you need to generate the first key.
The point where all keys starts.
The BIP32 standard specify simple method with HMAC512
.
The default key is Bitcoin seed and the seed is choosen by the user.
To generate a master key:
No convertion of the given string is operated, the seed
is used as is.
The key
can be change by setting the second parameter:
=== Public key, private and public derivation
To get the public key from the a key:
pub = master_key.public_key
Then you can derive, ether public or private key:
The derivation path is determined by an array of index. the #h function for interger means harderned index, only available for private key derivation.
=== Serialization
Each keys can be serialized in BIP32 specified form:
FAQs
Unknown package
We found that hdet-ec-key demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.