Yes, you absolutely want to use some kind of MAC in addition to just encryption. That's what I di…
What you want to capture at crash is not only call stack, but some other info too - like loaded m…
mmozeiko SQLite file has a well known and constant header. To determine if file is encrypted (and…
Hm, I though if you use clang++ for compiler it will automatically switch to treat source as C++ …
Those are very two different libraries. libsodium is just a crypto library with easy to use API. …
Hey guys,
I'm writing my own game and I've been trying to finalize the different platform layers…
Shazan —
What about mbedtls or should i go libsodium anyways I'll try both and see which works and has les…
r2d2 —
No, it's not related to -Wno-unused-function.
Here's the test build. platform.h:
1
2
3
4
5
…
Thanks Simon and Allen, works like a charm and simple.
I have used sqlite vfs I/O API to implement transparent encryption on page level. SQLite asks VFS…
You could use libsodium by DJB.
You would have to override sqlite's I/O functions so that file a…
Shazan —
I am not trying to protect the database from the user because if the user has access to the db th…
No, what that means is you need to understand what is your attacker and what against are you guar…
Shazan —
You mean i should use openssl to encrypt the database and decrypt it when using the database.
Pl…
Can you try to remove "-Wno-unused-function" and check if compiler gives any warning/error about …
And because sqlite will run db in same machine where user enters password that means that once us…
msmshazan How to add password protection to sqlite or should I use another database api for passw…
Shazan —
How to add password protection to sqlite or should I use another database api for password protec…
Awesome, thanks for the tip.
On my mac I was able to `brew install clang-format` then run `clang…
Hi Anton. Thanks for your interest in the game.
You navigate through wind currents and whirlwinds…
r2d2 —
> How are you compiling? Unity build or multiple .cpp files?
> Is handmade_platform.h file …
I'll take this as an opportunity to dump some past moments.
The dig at Jon:
When GPUs clicked:…
How are you compiling? Unity build or multiple .cpp files?
Is handmade_platform.h file included b…
r2d2 —
In Day 152, Casey uses the SafeTruncateUInt64 function inside the PLATFORM_READ_DATA_FROM_FILE im…
Mox —
ratchetfreak depth writes and depth tests are controlled separately using glDepthMask and glEnabl…
depth writes and depth tests are controlled separately using glDepthMask and glEnable(GL_DEPTH_TE…
Mox —
Hi,
I believe a major problem with the attempt to do the handmade resolve is that the depth buff…
I have used clang-format a lot. It's is pretty nice, you can configure it to your liking and it h…