-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.
Description
It seems that we now can use the internal function _toBuf() by exposing it directly from the internal/crypto/util. (See codes at crypto.js:Line 90~91, Line 142):
Now I wonder:
1)Generally speaking, since this is a public function exposed to the public, should it be renamed to toBuf instead of _toBuf()? The latter looks like a private function for inner usages.
2)Should it be documented? Any other suggestions or plans?
Thanks anyway!
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.