Bitcore-ecies - verify cypher


(mohrt) #1

The bitcore-ecies shows an example of using the shared cypher to encrypt/decrypt data. I don’t need to encrypt/decrypt data, I just need to validate that the cypher is the same. Is there a recommended way to simply validate the cypher itself? I see I could compare the kEkM value, is this the way to go?