diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-03-13 23:26:36 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:13:33 +0300 |
commit | ecf11a5db21ae49f64d7f9d23da883ba0d7395f9 (patch) | |
tree | 9709912c64af1c002fa6b10f6196ccb25bc25d53 /coding/base64.hpp | |
parent | c0edea9082917be4a09469aa135a38c067c6b49d (diff) |
Added coding/sha2.hpp and coding/base64.hpp
Unique user ID now calculated as sha224 + base64
Diffstat (limited to 'coding/base64.hpp')
-rw-r--r-- | coding/base64.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/coding/base64.hpp b/coding/base64.hpp new file mode 100644 index 0000000000..35003b12e0 --- /dev/null +++ b/coding/base64.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include "../std/string.hpp" + +namespace base64 +{ + string encode(string const & rawBytes); + string decode(string const & base64Chars); +} |