Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Security

hector alvarado
hector alvarado
15,796 Points

Hash a Hash???

If you apply and argon2 hash to a Shake hashed content would it be more secure?? or hashing the hashed its not a good practice??

1 Answer

Steven Parker
Steven Parker
229,982 Points

If you're using an adequately secure hashing method to begin with, it's just not necessary. It would be like putting two hasps with different brand padlocks on a toolbox, only a minor additional inconvenience for the person who has already stolen the box. And if it were to become known you were putting such extreme efforts into encryption, it might cause suspicion that you were trying to compensate for inadequately protecting access to the data to begin with.

You can be sure a more compute-intensive method will become commonplace long before the currently popular ones become inadequate.