ECIES | How to get cipherPubKey, AES-nonce, authTag
Hi all,
I want to reach the parameters above. I am doing a cross-platform application and I need them.
Hmm... Let's see if I even understand what you say. cipherPubKey seems like it could be a public ECC key, but you also mentioned AES, so that might be ECIES-related. authTag sounds like HMAC, and while sslcrypto supports HMAC, it's more or less transparent and isn't exposed to the API directly.
I'm... not really certain that you know what you're doing. The parameter names don't seem generally agreed upon, so you have to figure out the exact encryption scheme you're using and figure out how that maps onto the relatively low-level API sslcrypto provides, like AES keys and whatnot. If you don't understand what cryptographic primitives you're using, you're not really in a position to develop anything remotely secure.