Earlier quoted context omitted.
> To be fair, your bank likely has a bit more money to throw at this problem. I suppose they could charge 1 USD for (lifetime) membership and store the last four digits of your credit card in lieu of a username, so that they could easily look up the salt that gives the salt with witch they've hashed your email... ;-) (Would require that you could supply the last digits of your possibly expired credit card, when you l…
The last four digits of your credit card should not be considered secure information. It's printed on all of your receipts. You carry it on your person in plain text. Many of your online accounts will display it in your account settings without an additional login. It's probably in both your mail and your email. Once someone has it, they can use it for years for recovery on any service that accepts it, and I know som…
Project Euler Returns
101–104 of 104 posts
Re: Project Euler Returns
#102Earlier quoted context omitted.
A global salt is called 'pepper'.
This thread is dishearteningly full of cargo-culted cryptography. You would think HN would do better. A global salt is not a thing. It's a misapplication of a cryptographic component. The appropriate tool when you think you need something like this is an HMAC and a secret HMAC key.
Personally I think not having a password retrieval function while simultaneously forcing all of your users to reset their password is a pretty user unfriendly tactic for the protection of an ostensibly public piece of information.
Re: Project Euler Returns
#103Re: Project Euler Returns
#104I have been curious for a while: What is in the opinion of the HN community a good score on Project Euler? For which scores do you tip your figurative hat?
Not scores so much as specific problems. If I work on it for a week, get frustrated, google for solutions, and can't find any, and you solved it, you're a beast. Also if you solve 328 tell me how. And no, dynamic programming is not efficient enough.
Is your dynamic programming table 2D? Maybe it should be.
Stop reading if that's progress.
Have you looked closely at the table content?
Stop reading.
Have you noticed how similar many parts are, under perhaps simple transforms?
Stop reading.
Try adding or subtracting your coordinates, to see more of the pattern.
Stop reading.
There's not just a within-row pattern.
Stop reading.
In the end, dynamic programming might not be the main trick. But you can make your own way from here.