| 12 | PublicKey publicKey; |
| 13 | |
| 14 | KeySet() { |
| 15 | SecretKey secret; |
| 16 | Random::randBytes(SecretKeySize).copyTo((char*)secret.data()); |
| 17 | |
| 18 | secret[0] &= 248; |
| 19 | secret[31] &= 127; |
| 20 | secret[31] |= 64; |
| 21 | |
| 22 | ed25519_CreateKeyPair(publicKey.data(), privateKey.data(), nullptr, secret.data()); |
| 23 | } |
| 24 | }; |
| 25 | |
| 26 | static KeySet const& staticKeys() { |
nothing calls this directly
no test coverage detected