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

tech.pylons.lib.core.ICryptoHandler.kt Maven / Gradle / Ivy

package tech.pylons.lib.core

import tech.pylons.lib.types.PylonsSECP256K1

interface ICryptoHandler {
    var keyPair : PylonsSECP256K1.KeyPair?
    fun generateNewKeys ()
    fun importKeysFromUserData()
    fun signature (bytes : ByteArray) : ByteArray
    fun verify (bytes : ByteArray, signature : ByteArray) : Boolean
    fun getEncodedPublicKey () : String
    fun getPrefix () : String
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy