Putting password into a SD.


hi guys,
sorry bother you.
i'm messing around this:
http://snipurl.com/29u7htl
it's arduino sketch pretty things on sd cards.
among things sets out there possibility put password cards.
it works, have questions though.
i don't understand presetted password stored.
digging matter saw in sd_raw_roland.cpp @ row 199 there should presetted password used sketch:
199 char globalpwdstr[16] = {'t', 'w', 'i', 'l', 'i', 'g', 's', 'p', 'o', 'r', 'k', 'l', 'e', 'p', 'a', 'h'}; // password used lock card
the problem isn't password used scketch, real 1 totally different, doesent match that.
more, changing in row 199 seems anything, password used still same before.
so questions are:
1)where real password stored?
2)how can possible password in row 199 can translated real 1 used sketch due fact changing nothing happens , remains unchanged?
thank in advance help.
regards,
 
ar

the idea storing passwords not able read them.
as not passwords anymore - key read.

therefore password crypted algoritm (math bit cruncher), making password illegible humans.
if want read password back, must use same algoritm - in reverse.

to use password stored, have remember legible password can written , read humans.
this compared against stored (and crypted) password code, de-crypt comparison.

remember how works, when doing on-line banking.
you dont want able find , read legible password account.
besides - online banking using far more elaborated crypting, dealing with  8)

- hopefully  :smiley-eek-blue:


Arduino Forum > Using Arduino > Programming Questions > Putting password into a SD.


arduino

Comments