We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be über nice if signer.update(...) and verifier.update(...) were to return self so that methods could be easily chained like:
signer.update(...)
verifier.update(...)
self
var signature = ursa.createSigner('SHA256') .update('foo') .update('bar') .sign(...);
Should I submit a PR?
The text was updated successfully, but these errors were encountered:
Yeah, that would be great :)
Sorry, something went wrong.
Have the update(...) method of Signer and Verifier to return this.
update(...)
this
5fc1e97
This helps with method chaining, like: ```javascript var signature = ursa.createSigner('SHA256') .update('foo') .update('bar') .sign(...); ``` Fixes JoshKaufman#86
Pull request in #87
Successfully merging a pull request may close this issue.
It would be über nice if
signer.update(...)
andverifier.update(...)
were to returnself
so that methods could be easily chained like:Should I submit a PR?
The text was updated successfully, but these errors were encountered: