commonMain.io.eqoty.secretk.crypto.elliptic.curves.PresetCurve.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
A Kotlin multiplatform REST client utilizing secret network's gRPC gateway endpoints.
package io.eqoty.secretk.crypto.elliptic.curves
import io.eqoty.secretk.crypto.elliptic.biginteger.BN
sealed interface PresetCurve {
val gRed: Boolean
val a: BN
val b: BN
val g: String?
val n: BN?
val type: String
val prime: String?
val p: BN
val h: String
val hash: String
val lambda: BN
val beta: BN?
val basis: List
}
data class Basis(val a: BN, val b: BN)
data class Endomorphism(
val beta: BN,
val lambda: BN,
val basis: List
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy