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

Allow message signing and verification #95

Closed
KilianB opened this issue Apr 8, 2022 · 2 comments
Closed

Allow message signing and verification #95

KilianB opened this issue Apr 8, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@KilianB
Copy link

KilianB commented Apr 8, 2022

The hedera sdk supports sinning and verifying message. It would be great if this feature could be exposed via hashconnect

const privateKey : PrivateKey;
const message = Buffer.from("My message to sign");
const signature = privateKey.sign(message);

const publicKey: PublicKey = privateKey.publicKey();
const isValid = publicKey.verify(message,signature);
@teacoat teacoat added the enhancement New feature or request label Jun 30, 2022
@kantorcodes
Copy link

Would love this. Is there a way to do something like this yet?

@jruffer
Copy link

jruffer commented Sep 8, 2022

Do we have an update on this we also need this feature...

@teacoat teacoat closed this as completed Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants