Added longer Base64 decode/encode test
This commit is contained in:
parent
f4b46cd3dc
commit
2d3062265d
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@ const vector<pair<string, string>> base64_string_tests = {
|
|||
{"foo", "Zm9v"},
|
||||
{"foob", "Zm9vYg=="},
|
||||
{"fooba", "Zm9vYmE="},
|
||||
{"foobar", "Zm9vYmFy"}};
|
||||
{"foobar", "Zm9vYmFy"},
|
||||
{"The itsy bitsy spider climbed up the waterspout.\r\nDown came the rain\r\nand washed the spider out.\r\nOut came the sun\r\nand dried up all the rain\r\nand the itsy bitsy spider climbed up the spout again.",
|
||||
"VGhlIGl0c3kgYml0c3kgc3BpZGVyIGNsaW1iZWQgdXAgdGhlIHdhdGVyc3BvdXQuDQpEb3duIGNhbWUgdGhlIHJhaW4NCmFuZCB3YXNoZWQgdGhlIHNwaWRlciBvdXQuDQpPdXQgY2FtZSB0aGUgc3VuDQphbmQgZHJpZWQgdXAgYWxsIHRoZSByYWluDQphbmQgdGhlIGl0c3kgYml0c3kgc3BpZGVyIGNsaW1iZWQgdXAgdGhlIHNwb3V0IGFnYWluLg=="}};
|
||||
|
||||
const vector<pair<string, string>> md5_string_tests = {
|
||||
{"", "d41d8cd98f00b204e9800998ecf8427e"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue