Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECIES | How to get cipherPubKey, AES-nonce, authTag #22

Open
ozan956 opened this issue Oct 31, 2023 · 1 comment
Open

ECIES | How to get cipherPubKey, AES-nonce, authTag #22

ozan956 opened this issue Oct 31, 2023 · 1 comment

Comments

@ozan956
Copy link

ozan956 commented Oct 31, 2023

Hi all,

I want to reach the parameters above. I am doing a cross-platform application and I need them.

@purplesyringa
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants