Better HN
topnewbestaskshowjobs
Log inSign up

aadamov

3 karma · joined Feb 26, 2013 (13y ago) · 5 submissions

Submissions

comment 13y ago · link · parent

High on emotions. Low on facts and ideas.

2.

· discuss

comment 13y ago · link · parent

Indeed, the assumption is that attacker has limited window of opportunity to grab the data. Taking that as a base assumption, it would make sense two store parts of the hashed password in two separate databases on two separate machines. Hacker would have to gain access to both. My initial alternative was to add some trick inside of the code, like a simple shuffling of characters. Assuming that code is not stored on the same machine as DB that should increase security considerably. But either concept would work. Of course it does not remove the need for higher degree of difficulty for hashing itself.

comment 13y ago · link · parent

But this is why we do one or both things: strip obvious things from hashed password and store them separately or add a trivial character reshuffling algorithm. The point is that hacker would not only have to steal your hashed passwords, but also steal and understand your code. Makes it more complicated.