blob: 22a571e4c1673df43db369554c60786f536a5729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef __SP_CRYPT
#define __SP_CRYPT
#include "SAPI.h"
#include "tweetnacl.h"
#include "sp_utils.h"
#include "ext/hash/php_hash.h"
#include "ext/hash/php_hash_sha.h"
#include "ext/standard/base64.h"
void generate_key(unsigned char *key);
int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hask_key);
zend_string *encrypt_zval(zend_string *);
#endif /*__SP_CRYPT */
|