borr
0.0.8indexedOffers an Ed25519 cryptography library for signing and verifying messages, featuring key pair generation, Base64 encoding/decoding, and integration with Tink cryptographic library.
0
Stars
2
Used by
dependents
—
Health
/ 100
Offers an Ed25519 cryptography library for signing and verifying messages, featuring key pair generation, Base64 encoding/decoding, and integration with Tink cryptographic library.
Ed25519 crypto library based on https://github.com/tink-crypto/tink-java
kotlin {
sourceSets {
commonMain.dependencies {
...
implementation("io.github.remmerw:borr:0.0.8")
}
...
}
}
@Test
fun ed25519() {
val keys = Ed25519Sign()
val msg = "moin moin"()
val signer = (keys.getPrivateKey())
val signature = signer(msg)
val privateKeyAsString = Base64(keys.getPrivateKey())
(privateKeyAsString)
val publicKeyAsString = Base64(keys.getPublicKey())
(publicKeyAsString)
val privateKey = Base64(privateKeyAsString)
(privateKey)
val publicKey = Base64(publicKeyAsString)
val verifier = (publicKey)
verifier(signature, msg)
}
Surfaced from shared tags and platforms — no rankings paid for.