* Create a new secret key that's filled with random bytes. * @return The randomly filled key. */ static */
| 143 | * @return The randomly filled key. |
| 144 | */ |
| 145 | /* static */ X25519SecretKey X25519SecretKey::CreateRandom() |
| 146 | { |
| 147 | X25519SecretKey secret_key; |
| 148 | RandomBytesWithFallback(secret_key); |
| 149 | return secret_key; |
| 150 | } |
| 151 | |
| 152 | /** |
| 153 | * Create the public key associated with this secret key. |
nothing calls this directly
no test coverage detected