[DEBUG] update to the new interface etk

This commit is contained in:
Edouard DUPIN 2017-09-12 14:13:27 +02:00
parent 4a5c53a221
commit 0c6256e08b
5 changed files with 11 additions and 1 deletions

View File

@ -22,7 +22,9 @@ const etk::Vector<uint8_t>& getReverseTable() {
static bool isBase64(char _ccc) {
return isalnum(_ccc)
return (_ccc >= '0' && _ccc <= '9')
|| (_ccc >= 'a' && _ccc <= 'z')
|| (_ccc >= 'A' && _ccc <= 'Z')
|| _ccc == '+'
|| _ccc == '/';
}

View File

@ -6,6 +6,8 @@
#pragma once
#include <etk/types.hpp>
#include <etk/types.hpp>
#include <etk/String.hpp>
namespace algue {
namespace base64 {

View File

@ -6,6 +6,8 @@
#pragma once
#include <etk/types.hpp>
#include <etk/Vector.hpp>
#include <etk/String.hpp>
/**
* @brief Basic Algue library namespace

View File

@ -6,6 +6,8 @@
#pragma once
#include <etk/types.hpp>
#include <etk/Vector.hpp>
#include <etk/String.hpp>
namespace algue {
namespace sha1 {

View File

@ -6,6 +6,8 @@
#pragma once
#include <etk/types.hpp>
#include <etk/Vector.hpp>
#include <etk/String.hpp>
namespace algue {
class Sha512 {