diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-30 01:42:36 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-30 01:42:36 -0700 |
commit | 15dfcf5abaacb3885859dcbe5fa2c29cf259cb0d (patch) | |
tree | 89624031de84d431b691a27290eda42163d68cb0 /includes/Base64.h | |
parent | b101fbdf0d8b1153f7bea58bc97e773e1016b7cc (diff) |
Hardened Base64, making tomcrypt to properly generate secure random numbers under windows, and ditched tomcryptmath for tommath.
Diffstat (limited to 'includes/Base64.h')
-rw-r--r-- | includes/Base64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Base64.h b/includes/Base64.h index d039c73..8d0b71d 100644 --- a/includes/Base64.h +++ b/includes/Base64.h @@ -7,7 +7,7 @@ namespace Balau { class Base64 { public: static String encode(const uint8_t * data, int len); - static int decode(const String & str_in, uint8_t * data_out); + static int decode(const String & str_in, uint8_t * data_out, size_t outLen = static_cast<size_t>(-1)); static const double ratio; private: |