Base64 encoding
Open
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
I see that there is an option for hex encoding via .toJSON() or .toString(16), but how about base64 encoding - is that supported at all? Is it possible to extract the bytes in a form that may be passed to `btoa()`?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the existing .toJSON() and .toString(16) encoding behavior in bn.js, then check how callers could obtain bytes for btoa(). Done when the issue's question about base64 support and byte extraction is answered by tested, documented behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100