Home

Awesome

xv

single-header pointer/value encryption

pros:

cons:

example:

struct player_t
{
    xv::xval<float> health;
};

//...

player_t p;
p.health = 1337;

printf("player health (encrypted): %.2f\n", p.health);
printf("player health (decrypted): %.2f\n", p.health.get());