cryptography.Digest.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.cryptography
import nl.sanderdijkhuis.noise.data.Data
import nl.sanderdijkhuis.noise.data.Size
/** Outcome of the hashing function. */
@JvmInline
value class Digest(val data: Data) {
init {
data.require(SIZE)
}
companion object {
val SIZE = Size(32u)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy