Best way to secure text info

For everything that's not in any way related to PureBasic. General chat etc...
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> what's so important that no-one else can read, yet you don't actually care if you can't read it?

Bank account details are one example. If you lose them, all you need to do
is call the bank to get the details back.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Wow, that's a lot of replies.
Thanks to everyone for your feedback.
No ascii art of Hasselhoff hehehe

It's personal things, that I can get back if needed, like bank stuff, etc.

Was hoping to find a way to use it on a memory SD card.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

My suggestions is to go use a great encryption.

AES whatever. No one will break it; keep the pw long enough and you are safe. Its really
I have quite a few textfiles containing passwords and registration info to programs, email accounts
and so on and simply created a New/Zipped folder in XP, copied the text files in there, and selected
File/Add Password to protect them.
now, utopimania, send me one and ill send you the unencrypted file 10 mins after :)
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

thefool, I'm guessing your gonna use bruteforce to get the password of the archive?
I that case, with the passwords I now use, that would take you about 500 years hehehe ,)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Post by utopiomania »

Last edited by utopiomania on Thu Oct 12, 2006 11:33 pm, edited 1 time in total.
stubbsi
User
User
Posts: 50
Joined: Tue Jul 04, 2006 8:59 pm
Location: Mt Martha, Australia

Post by stubbsi »

truecrypt is a great way to go.

i store all of my registrations in a hidden volume there, so that they are secure.

can even use it on flash drives as well - just follow the help
Vincit qui primum gerit
"The Old Farts Wins" or "He Conquers Who First Grows Old"
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

utopiomania wrote:http://www.utopiomania.com/gate/gatekeeper.html

pw--> thefool :wink:
I cracked it. Now tell me the content's of trance.txt and i'll compare and see if its correct!

:lol:
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Post by utopiomania »

Ok, I'll post the first half of the text file:
Aquasky, Redout

Home » New Releases This Week » Disco/Nu Disco/Re-Edits vinyl records
MUDD, 54B, Summer In The Woods
Allen Tony, Moyage
D REN1, E-Mail
DISCOCONDUCTOR, Same old feeling

Funk/RareGroove/
A&R REWORKS, Rightplace wrong time

FIFTH DIMENSION The, If I could reach you

FUNKY MUSIC MACHINE, I can't help myself

HIDEFUMI Ino, what are you doing the rest..( of my life..)
Now, you post the rest of it to prove you cracked it :)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

bah :)
Of course you can't just crack them. Currently there are no easy ways; its just a bruteforce.

Now to a more important question; what's safest, blowfish or twofish? Im looking at TrueCrypt and these 2 rank highest on speed..
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

stubbsi wrote:truecrypt is a great way to go.

i store all of my registrations in a hidden volume there, so that they are secure.

can even use it on flash drives as well - just follow the help
Do you know if it runs on Pocket PC as well?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

Hi GeoTrail,

if you decide to roll your own:
  • - first compress your text; the compressed information will have a more even 1-bit and 0-bit distribution, i.e. more resemble white noise.
    - then use multiple encryption passes, each pass using a different algorithm
    - make sure you clear your temporary data structures as soon as possible, to reduce the chance that run-time monitoring the app will lead to a greater understanding of what you're doing
    - another idea: use data multiplexing. After compressing your data, split the byte sequence up into, say, four or five byte arrays (first byte in first array, second byte in second array, etc.). Encrypt each of these byte sequences individually, and write each of the encrypted sequences in a separate file. You might even consider storing these files in different locations/directories/volumes, whatever.
Hope this helps.
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Thanks for the tip dell_jockey. :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply