I'm working on a project in which I need a way to convert an ECC public key to mnemonic. Until now, it wasn't a problem I was generating a random private key then I was getting the 260-bit public key, I cut the last 2 hex characters to achieve 256 bits and then I could get 24 words.
The problem comes when I'll have to convert those 24 words back to its original public key form so I can verify a message. I realized that I can't do that, because those 2 characters are missing from the public key. Is there any way to convert the whole public key to mnemonic? Or anything that would solve my problem?