cpp-base64 icon indicating copy to clipboard operation
cpp-base64 copied to clipboard

base64 encoding and decoding with c++

Results 14 cpp-base64 issues
Sort by recently updated
recently updated
newest added

Hi, thanks for this library! :-) I've added CMake support in order to integrate it in my (CMake) project using [CPM](https://github.com/cpm-cmake/CPM.cmake). Along the way, I've also revisited the project's directory...

Thanks @ReneNyffenegger for this useful c++ base64 library. I noticed a similar old issue https://github.com/ReneNyffenegger/cpp-base64/issues/24 Looks the problem is not fixed for invalid inputs. As a simple example, `base64_decode(std::string("a"))` will...

Can you help to encode the base64 encoding with japanese string

According to "measure_time.cpp" benchmark, decoding is 2.65 (g++ -O0) / 2.55 (g++ -O2) times slower than encoding. One of the bottleneck of decoding comes from doing several comparisons and calculating...

This MR turns the project into a CMake project. The `compile-and-run-test` still works, but I removed the `Makefile` to avoid double maintenance. I have also made a small effort to...

The license seems to be similar to [the 3-clause BSD license](https://opensource.org/license/bsd-3-clause/) in spirit, but not in exact wording. Could you dual-license under your current license (for "backwards compatibility") and 3-clause...

This isn't so much a bug report but more of an alert or question about URL padding. The current implementation seems to use '.' for padding of URL content, rather...

Passing the decode method a strings of size so that (size % 4) != 0 causes the algorithm to try to read memory not belonging to the input data

Can't remove '\n' directly at here ,because of the character not in standard base64-encoded data ,but i don't know better solution issue at :base64.cpp:171 ` if (remove_linebreaks) { std::string copy(encoded_string);...