Sign a message using a recovered keypair
| 162 | |
| 163 | // Sign a message using a recovered keypair |
| 164 | Signature sign(const std::array<uint8_t, 32> &message, |
| 165 | const std::vector<std::array<uint8_t, 32>> &private_key, |
| 166 | const std::array<uint8_t, 32> &publicSeed) { |
| 167 | // Sign the message with the provided private key and public seed |
| 168 | return wots_.sign(private_key, publicSeed, message); |
| 169 | } |
| 170 | |
| 171 | private: |
| 172 | std::array<uint8_t, 32> quantum_secret_; |
no outgoing calls
no test coverage detected