Skip to content

Commit

Permalink
add base85
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaominghe2014 committed Jul 20, 2023
1 parent 9c7ce40 commit 9794fa7
Show file tree
Hide file tree
Showing 4 changed files with 695 additions and 221 deletions.
28 changes: 28 additions & 0 deletions include/crypto/base85.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//----------------------------------------------//
// base85.h
// xlib
//
// Copyright (c) __DATA__ Ximena.
// Created by ximena on 16/6/21.
// Copyright © 2016年 ximena. All rights reserved.
// Contact Email: xiaominghe2014@gmail.com
//----------------------------------------------//

#ifndef base85_h
#define base85_h
#include <string>

namespace xlib {

namespace crypto{

std::string encode85(const std::string& in);
std::string decode85(const std::string& in);

}//! end crypto

}//!end xlib



#endif /* base85_h */
1 change: 1 addition & 0 deletions include/xlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "base/XRandom.h"
#include "base/Serializer.h"
#include "crypto/base64.h"
#include "crypto/base85.h"
#include "crypto/md5.h"
#include "crypto/sha1.h"
#include "crypto/url.h"
Expand Down
Loading

0 comments on commit 9794fa7

Please sign in to comment.