-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Description
It appears that the ROM already has these functions. A nice clean wrapper would make using it very easy.
In this thread in the forum, cal says that the signature of base64_encode is
extern unsigned char * base64_encode(const unsigned char *src, size_t len, size_t *out_len);However, using this doesn't seem straightforward, for reasons mentioned in the forum post.
I'm still just getting my feet wet, so I don't have the chops to do this myself, sorry. However, on the surface, it seems like it should be rather easy to do? I'm guessing it could be made to look similar to String sha1(String str) in Hash.h. Maybe it even belongs in Hash.h?