summaryrefslogtreecommitdiff
path: root/src/mongo/util/base64_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-43909 clarify and repair util/hex.h APIBilly Donahue2020-09-151-1/+1
| | | | | | | - hexblob namespace - Throwy hexblob::decode (nee fromHex) - StringData overloads of hex codec ops - add unsignedHex<T> and zeroPaddedHex<T>
* SERVER-46127 unit tests log to a kTest componentGabriel Russell2020-04-141-1/+1
|
* SERVER-46568 removing the unittestOutput domainGabriel Russell2020-04-141-6/+8
|
* SERVER-45057 make base64 encode/decode 22x/15x fasterBilly Donahue2019-12-181-34/+68
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-30580 Eliminate UserException and MsgAssertionException typesMathias Stearn2017-08-161-1/+1
| | | | All users were converted to just use AssertionException.
* SERVER-30580 Eliminate DBException::getCode() in favor of code()Mathias Stearn2017-08-161-1/+1
|
* SERVER-15194 Refactor base64::decode ImplementationSara Golemon2017-07-071-0/+93
| | | | | | | | | | Unrevert 4b222edf455a34667cfaf7b67e7f8dfdca42bd9c and Fix random base64 generation in test helper The good news is that the changes to base64::decode() did exactly what they were intended to do. The bad news is that data_generators.js was producing invalid base64 sequences when (length % 4) == 1.
* Revert "SERVER-15194 Refactor base64::decode Implementation"Nathan Myers2017-07-071-93/+0
| | | | This reverts commit 4b222edf455a34667cfaf7b67e7f8dfdca42bd9c.
* SERVER-15194 Refactor base64::decode ImplementationSara Golemon2017-07-061-0/+93
* Existing check for length as multiple of 4 as-is * Added check for non-base64 characters on input * Added check for terminators ('=') midstream Implicitly in positions 0 and 1 via non-base64 check Explicitly in positions 2 and 3 via "done" check. Moved "Alphabet" class into cpp file in anon namespace as it's an implementation detail and shouldn't be used by outside classes. Added base64::validate() method to accomodate BSON's isBase64String() check.