24 lines
356 B
C
24 lines
356 B
C
|
#ifndef CRYPT_H
|
||
|
#define CRYPT_H
|
||
|
|
||
|
#include "core/reference.h"
|
||
|
|
||
|
class Crypt : public Reference {
|
||
|
GDCLASS(Crypt, Reference)
|
||
|
protected:
|
||
|
static void _bind_methods();
|
||
|
|
||
|
public:
|
||
|
static void _register_methods();
|
||
|
|
||
|
Crypt();
|
||
|
~Crypt();
|
||
|
|
||
|
void _init(); // our initializer called by Godot
|
||
|
|
||
|
String encrypt(String key, String salt);
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|