MCPcopy Create free account
hub / github.com/defold/defold / Encrypt

Function Encrypt

engine/dlib/src/dlib/crypt.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 Result Encrypt(Algorithm algo, uint8_t* data, uint32_t datalen, const uint8_t* key, uint32_t keylen)
75 {
76 EncryptXTeaCTR(data, datalen, key, keylen);
77 return RESULT_OK;
78 }
79
80 Result Decrypt(Algorithm algo, uint8_t* data, uint32_t datalen, const uint8_t* key, uint32_t keylen)
81 {

Callers 2

EncryptXTeaCTRFunction · 0.85
TESTFunction · 0.85

Calls 1

EncryptXTeaCTRFunction · 0.85

Tested by 1

TESTFunction · 0.68