Are there any base 64 encoding and decoding libraries that are compatible with both C and JavaScript? Ideally, the library would have identical algorithms for both the encode and decode functions, allowing it to be used for desktop application clients (C++) and web application clients (using JavaScript).
Has anyone developed code for this particular use case before? If not, I am willing to create my own implementation. However, if there is an existing library available, I would prefer to use that to streamline the process and save time.