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

crypto module lacks fromBase64 function #1053

Closed
marcoskirsch opened this issue Feb 14, 2016 · 1 comment
Closed

crypto module lacks fromBase64 function #1053

marcoskirsch opened this issue Feb 14, 2016 · 1 comment

Comments

@marcoskirsch
Copy link

Per https://nodemcu.readthedocs.org/en/dev/en/modules/crypto/
There is a crypto.toBase64() function, but no symmetrical fromBase64().
Some projects can benefit from such a thing and seems like an odd omission.

Workaround: use Lua implementation such as https://github.com/marcoskirsch/nodemcu-httpserver/blob/master/httpserver-b64decode.lua but this has memory and speed implications, plus as is doesn't work well on firmware builds with floating point enabled.

@TerryE
Copy link
Collaborator

TerryE commented Feb 14, 2016

See #475, #925 . I've got the working code but just want to clear out the tasking / gpio PR first. Please use #925 for future discussions.

@TerryE TerryE closed this as completed Feb 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants