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!
It seems that we now can use the internal function
_toBuf()by exposing it directly from theinternal/crypto/util. (See codes atcrypto.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
toBufinstead of_toBuf()? The latter looks like a private function for inner usages.2)Should it be documented? Any other suggestions or plans?
Thanks anyway!