huis.noise-kotlin.1.0.1.source-code.Transport.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of noise-kotlin Show documentation
Show all versions of noise-kotlin Show documentation
Noise protocols based on Diffie-Hellman key agreement
The newest version!
package nl.sanderdijkhuis.noise
import nl.sanderdijkhuis.noise.cryptography.Digest
/**
* Initial transport message state.
*
* Be careful to increment [nonces][nl.sanderdijkhuis.noise.cryptography.Nonce] when sending new transport messages.
*/
data class Transport(
val initiatorCipherState: Cipher,
val responderCipherState: Cipher,
val handshakeHash: Digest
) : MessageType
© 2015 - 2025 Weber Informatics LLC | Privacy Policy