Category "diffie-hellman"

can I access the private key of solana account (via phantom) to encrypt data?

I am very new to web3 etc but as far as I know, every account is represented by a public/private key. The public key can be accessed anytime and the private key

Compute Diffie-Hellman key pair and shared secret in iOS with Swift

I need on iOS with Swift to: Generate a Diffie–Hellman key pair with a pre-agreed modulus P and a base G Compute a shared secret with a local private key,