We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Jeroen van Rijn
Alternatively, use a HMAC in addition to just encrypting. If this hash (which takes as is input t…
»
Mārtiņš Možeiko
Hm, I though if you use clang++ for compiler it will automatically switch to treat source as C++ o…
»
Mārtiņš Možeiko
Those are very two different libraries. libsodium is just a crypto library with easy to use API. m…
»
HawYeah
Hey guys, I'm writing my own game and I've been trying to finalize the different platform layers t…
»
Shazan
What about or should i go libsodium anyways I'll try both and see which works and has less build …
»
r2d2
No, it's not related to -Wno-unused-function. Here's the test build. platform.h: typedef uint32_t…
»
Scott Hunt
Thanks Simon and Allen, works like a charm and simple.
»
Mārtiņš Možeiko
I have used sqlite vfs I/O API to implement transparent encryption on page level. SQLite asks VFS …
»
Jeroen van Rijn
You could use by DJB. You would have to so that file access goes through your crypto layer. You'…
»
Shazan
I am not trying to protect the database from the user because if the user has access to the db the…
»
Mārtiņš Možeiko
No, what that means is you need to understand what is your attacker and what against are you guard…
»
Shazan
You mean i should use openssl to encrypt the database and decrypt it when using the database. Plus…
»
Mārtiņš Možeiko
Can you try to remove "-Wno-unused-function" and check if compiler gives any warning/error about S…
»
Mārtiņš Možeiko
And because sqlite will run db in same machine where user enters password that means that once use…
»
Jeroen van Rijn
The difference between sqlite and other databases is that there's a database server which can enf…
»
Shazan
How to add password protection to sqlite or should I use another database api for password protect…
»
Connor Stack
Awesome, thanks for the tip. On my mac I was able to brew install clang-format then run clang-form…
»
Timothy Barnes
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 included be…
»
Alex Baines
I'll take this as an opportunity to dump some past moments.
»
»
Mārtiņš Možeiko
How are you compiling? Unity build or multiple .cpp files? Is handmade_platform.h file included be…
»
r2d2
In Day 152, Casey uses the SafeTruncateUInt64 function inside the PLATFORM_READ_DATA_FROM_FILE imp…
»
Mox
So that's not an issue. What is an issue with that is that the last fragment stays in the depth b…
»
ratchetfreak
depth writes and depth tests are controlled separately using glDepthMask and glEnable(GL_DEPTH_TES…
»
Mox
Hi, I believe a major problem with the attempt to do the handmade resolve is that the depth buffer…
»
»
Mārtiņš Možeiko
I have used clang-format a lot. It's is pretty nice, you can configure it to your liking and it ha…
»
Connor Stack
Does anybody use / know of a good C linter / formatter? I want the equivalent of for Go or for R…
»
Jeremiah Goerdt
That's a cool premise. Player/NPC interaction has so much room for improvement in games. Good luck…
»