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