If I understand correctly MAC makes sure that the encrypted message isn't altered, so I presume signing the message with for example ed25519 would do the job too. Am I right?
Asked
Active
Viewed 41 times
signed by senders private key, MAC is not using a private key. In the questionalteredis integrity, so the OP can do this with signature only. What I see,X25519key exchange, KDF to derive AES Key, sign with ed25519 then encrypts. – kelalaka Nov 24 '20 at 22:45