Package-level declarations

Types

Link copied to clipboard
object Base58

Base58 is a way to encode Kryptokrona addresses (or arbitrary data) as alphanumeric strings.

Link copied to clipboard

Crypto class that loads the C library

Link copied to clipboard

Ed25519 class that loads the C library

Link copied to clipboard

Hash class that loads the C library

Link copied to clipboard

Keccak class that loads the C library

Link copied to clipboard

Wallet Encryption class.

Link copied to clipboard
class WalletFileEncryption(wallet: Wallet? = null)

This class is used to encrypt and decrypt wallet files.

Functions

Link copied to clipboard
fun generateAddress(publicSpendKey: String, publicViewKey: String): String

Generates an XKR address from a public spend key and a public view key.

Link copied to clipboard

Generates XKR key pairs.

Link copied to clipboard
fun generatePBKDF2DerivedKey(password: CharArray, salt: ByteArray, keyLength: Int, iterations: Int): ByteArray

Generates a PBKDF2 derived key from a password, salt, key length and number of iterations.

Link copied to clipboard
fun getKeyImageFromOutput(derivation: ByteArray, index: Long, myPublicSpend: ByteArray): KeyImage

Generates a signature from a hash and a secret key, and returns the result as a key image.