This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Asymmetric encryption/decryption with public key

Hi,

I'm studying the example about the nrf_crypto for implementing asymmetric encrypt and decrypt function.

The suggestion on the Dev_Zone is to use the share key to symmetric encrypt, decrypt and DSA after finishing ECDH.

According to public-key cryptography, is there any example to demonstrate how to use the peer public key to encrypt and then decrypt only with peer secret key.