Create an ellswift-encoded public key for this key, with specified entropy.
Declared in <key.h>
EllSwiftPubKey
EllSwiftCreate(std::span<std::byte const> entropy) const;
entropy must be a 32-byte span with additional entropy to use in the encoding. Every public key has ~2^256 different encodings, and this function will deterministically pick one of them, based on entropy. Note that even without truly random entropy, the resulting encoding will be indistinguishable from uniform to any adversary who does not know the private key (because the private key itself is always used as entropy as well).
The ellswift-encoded public key for this private key.
| Name | Description |
|---|---|
| entropy | A 32-byte span of additional entropy used to pick the encoding. |