libtom / libtomcrypt

LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.

Home Page:https://www.libtom.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wishlist: Encryption for ed25519/X25519

FGasper opened this issue · comments

It would be useful to be able to encrypt a string via ed25519/X25519. Could libtomcrypt’s ECDSA encryption algorithm apply also to ed25519/X25519?

Thank you!

The version from the develop branch provides this feature.

@sjaeckel I am afraid @FGasper meant ec25519 analogy to ECDH-based Encrypt and Decrypt as described here https://github.com/libtom/libtomcrypt/blob/develop/doc/crypt.tex#L5666 = ecc_encrypt_key + ecc_decrypt_key.

May be we should consider something like https://libsodium.gitbook.io/doc/public-key_cryptography/authenticated_encryption

I'm not sure, so let's wait for @FGasper's opinion