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.

DS Misc > Is there any password keeper or encryption SW for the DS ?

#142075 - rolling_glue - Thu Oct 04, 2007 3:44 am

Hi. Is there any software for the DS that will allow us to encrypt arbitrary data?

#142076 - tepples - Thu Oct 04, 2007 3:57 am

The kind of algorithm you use (symmetric vs. asymmetric) and how you manage the keys depend on what you want to accomplish by encrypting data. If you want a ready-made symmetric cipher, you can use triple desu, AES or XXTEA.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.


Last edited by tepples on Thu Oct 04, 2007 4:09 am; edited 1 time in total

#142080 - chuckstudios - Thu Oct 04, 2007 4:08 am

I believe he means an implementation of some form of encryption, so that he could encrypt his own files.

#142082 - tepples - Thu Oct 04, 2007 4:21 am

So we'd run SHA-256 on the passphrase, possibly salted, to come up with a 256-bit AES key. Such software does not exist yet, but it would be straightforward: you'd need libfat, a file chooser, an on-screen keyboard, and libraries to do SHA-256 and AES.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#142139 - rolling_glue - Fri Oct 05, 2007 1:47 am

yes, I'm looking for a ready made implementation of *any* of these encryption methods as any of them will let me encrypt files/data on my NDS.

#142317 - rolling_glue - Mon Oct 08, 2007 2:27 am

Well I managed to cross compile "burp" (a blowfish implementation) for dslinux. It just compiled and worked. I had to set little endian.