* Get the key to encrypt or decrypt a message sent from the client to the server. * @return The raw bytes of the key. */
| 39 | * @return The raw bytes of the key. |
| 40 | */ |
| 41 | std::span<const uint8_t> X25519DerivedKeys::ClientToServer() const |
| 42 | { |
| 43 | return std::span(this->keys.data(), X25519_KEY_SIZE); |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Get the key to encrypt or decrypt a message sent from the server to the client. |
no test coverage detected