gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Project: Secure texteditor with encryption

#177822 - Urben - Sat Mar 23, 2013 2:08 am

Hi,

Im about to make a "game" which can be used as a text editor.
The thing is, the docs are encrypted. I want to use my gba micro to save my passwords. I have a EZ Flash IV.

So Ive never programmed something in C, but its worth a try.
I tried to learn the language some time ago, but the thing with the pointers is pretty hard to learn.
I see the concept behind it, but the gba-tutorials dont go very deep into this topic.

I think Im going to use this code f?r the en- and decryption part:
http://www.literatecode.com/aes256

The text will be unformatted, some KB big. I want to create more than one container.
So maybe 4 containers (textfiles) which can be choosed to open and saved with a individual password.

The EZ Flash has the function, to not loose the informations when its shut down.
Well - this will be a secure problem for me, so I am looking for ideas how I can handle this.
There should be no encrypted data on the modul when I shut it down.

Savegames are the crypted textfiles.

The encryption should be fast, thats the main point.
I dont want a good looking design, when it slows down the encryptionengine.


short: How do I start? Does something like this exists already?