LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-06-2006, 08:14 PM   #1
charafantah
Member
 
Registered: Feb 2005
Distribution: debian 3.0 woody/mandrake 10.1
Posts: 34

Rep: Reputation: 15
password encryption


hello, sorry if am posting off forum topic, but icouldnt find any useful crypto forum(tell me if u know any)

i have a DB column that have a password, which is encoded/encrypted i dont know, the string looks like this
-127;-103;-62;-39;35;47;9;37;

the field length is 29 char
it only contains digits, semi colons and dashes
its always 8 characters(i assume that a semicolon is a new char)

what kind of encryption/encoding is that?any idea how to decrypt/decode that?
it doesnt look like any popular algorithm, not ASCII codes! what is it then
please advice

regards,

Last edited by charafantah; 10-06-2006 at 08:18 PM.
 
Old 10-07-2006, 01:42 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
What program is it that you're using?


Cheers,
Tink
 
Old 10-07-2006, 02:22 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
any idea how to decrypt/decode that?
Passwords usually can not be decrypted; this is, if implemented correctly.

Passwords are usually stored as a hash (which is a one-way encryption). To verify a password, a program will run the same hash-function on the password that a user provided and compare it to a stored value.
 
Old 10-07-2006, 04:00 AM   #4
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Quote:
Originally Posted by charafantah
i have a DB column that have a password, which is encoded/encrypted i dont know, the string looks like this
-127;-103;-62;-39;35;47;9;37;
That particular string may be just a representation, albeit an strange one (signed char comes to mind).

Quote:
Originally Posted by Wim Sturkenboom
Passwords usually can not be decrypted; this is, if implemented correctly.
Passwords are usually stored as a hash (which is a one-way encryption). To verify a password, a program will run the same hash-function on the password that a user provided and compare it to a stored value.
Maybe that db entry comes from a password manager
 
Old 10-07-2006, 06:13 AM   #5
charafantah
Member
 
Registered: Feb 2005
Distribution: debian 3.0 woody/mandrake 10.1
Posts: 34

Original Poster
Rep: Reputation: 15
this data is stored in an Oracle 9i DB (maybe its an oracle builtin function??)

and the application is a JAVA web application.

yes, i understand that most encryption algorithms use a one way hash function, but it could still be brute forced, with the correct key, some luck and alot of time
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Encryption morningkiran Linux - Security 2 10-10-2004 07:17 AM
password encryption is changing inetw Linux - Security 7 10-04-2004 09:00 PM
Gaim and password encryption jrdioko General 4 09-02-2004 04:56 PM
password encryption Lanmate Linux - Security 2 12-26-2003 04:15 AM
Password encryption???: shakeeb Linux - General 4 11-07-2003 07:50 PM


All times are GMT -5. The time now is 10:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration