[DEBUG] update to the new interface etk
This commit is contained in:
parent
4a5c53a221
commit
0c6256e08b
@ -22,7 +22,9 @@ const etk::Vector<uint8_t>& getReverseTable() {
|
|||||||
|
|
||||||
|
|
||||||
static bool isBase64(char _ccc) {
|
static bool isBase64(char _ccc) {
|
||||||
return isalnum(_ccc)
|
return (_ccc >= '0' && _ccc <= '9')
|
||||||
|
|| (_ccc >= 'a' && _ccc <= 'z')
|
||||||
|
|| (_ccc >= 'A' && _ccc <= 'Z')
|
||||||
|| _ccc == '+'
|
|| _ccc == '+'
|
||||||
|| _ccc == '/';
|
|| _ccc == '/';
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.hpp>
|
#include <etk/types.hpp>
|
||||||
|
#include <etk/types.hpp>
|
||||||
|
#include <etk/String.hpp>
|
||||||
|
|
||||||
namespace algue {
|
namespace algue {
|
||||||
namespace base64 {
|
namespace base64 {
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.hpp>
|
#include <etk/types.hpp>
|
||||||
|
#include <etk/Vector.hpp>
|
||||||
|
#include <etk/String.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Basic Algue library namespace
|
* @brief Basic Algue library namespace
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.hpp>
|
#include <etk/types.hpp>
|
||||||
|
#include <etk/Vector.hpp>
|
||||||
|
#include <etk/String.hpp>
|
||||||
|
|
||||||
namespace algue {
|
namespace algue {
|
||||||
namespace sha1 {
|
namespace sha1 {
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <etk/types.hpp>
|
#include <etk/types.hpp>
|
||||||
|
#include <etk/Vector.hpp>
|
||||||
|
#include <etk/String.hpp>
|
||||||
|
|
||||||
namespace algue {
|
namespace algue {
|
||||||
class Sha512 {
|
class Sha512 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user