| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- hexblob namespace
- Throwy hexblob::decode (nee fromHex)
- StringData overloads of hex codec ops
- add unsignedHex<T> and zeroPaddedHex<T>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
|
| |
|
|
|
|
| |
All users were converted to just use AssertionException.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This reverts commit 4b222edf455a34667cfaf7b67e7f8dfdca42bd9c.
|
|
* 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.
|