Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaominghe2014 committed Jul 20, 2023
1 parent 9794fa7 commit 3b09985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ void testSolveStandardSudoku()

void testDecodeAndEncode()
{
const std::string originStr = "S1l";
const std::string originStr = "Stay up-to-date on emerging technologies.(so.~!@#$%^&*)_+-=,';:\"<>?\\`";
std::string encodeStr = crypto::encode85(originStr);
LOG_I("encode85 is %s", encodeStr.c_str());
std::string decodeStr = crypto::decode85(encodeStr);
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/base85.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace xlib
'!', '#', '$', '%', '&', '(', ')', '*', '+', '-',
';', '<', '=', '>', '?', '@', '^', '_', '`', '{',
'|', '}', '~'};
const unsigned char const de85[] = {
const unsigned char de85[] = {
85,
85,
85,
Expand Down

0 comments on commit 3b09985

Please sign in to comment.