All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.eqoty.secretk.crypto.elliptic.curves.PresetCurve.kt Maven / Gradle / Ivy

Go to download

A Kotlin multiplatform REST client utilizing secret network's gRPC gateway endpoints.

There is a newer version: 6.4.1-rc
Show newest version
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