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

How to construct a SenderPublicKey from a String? #113

Open
jymchng opened this issue Mar 8, 2023 · 0 comments
Open

How to construct a SenderPublicKey from a String? #113

jymchng opened this issue Mar 8, 2023 · 0 comments

Comments

@jymchng
Copy link

jymchng commented Mar 8, 2023

Hi let's say the key exchange was meant to be conducted by sending String, which is a base64 encoding of the SharedKey, over to the receiver.

Sender would need the receiver's PublicKey which is sent to the sender through a base64 encoded string.

However, there is a no method of conversion from SecretKey to PublicKey then to ReceiverPublicKey.

How can I get an instance of ReceiverPublicKey to generate CombinedSharedKey as it is done in one of your tests?

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

1 participant