Linked Questions
12 questions linked to/from Is BCrypt a good hashing algorithm to use in C#? Where can I find it?
59 votes
9 answers
12k views
Is time() a good salt?
I'm looking at some code that I have not written myself. The code tries to hash a password with SHA512 and uses just time() as the salt. Is time() too simple a salt for this or is this code safe? ...
45 votes
9 answers
70k views
Hash Password in C#? Bcrypt/PBKDF2
I looked up msdn and other resources on how to do this but i came up with no clear solutions. This is the best i found http://blogs.msdn.com/b/shawnfa/archive/2004/04/14/generating-a-key-from-a-...
21 votes
5 answers
3k views
Improve password hashing with a random salt
I'm starting a website and I'm trying to decide how to encrypt user passwords to store them in a SQL database. I realize that using a simple md5(password) is very unsecured. I'm considering using a ...
29 votes
3 answers
26k views
Is Bcrypt used for Hashing or Encryption? A bit of confusion
I have been reading about bcrypt (application perspective). Thinking of using it to store passwords on my site. Out of some stuff that I read it suggests either ways: e.g. 1: Bcrypt is a cross ...
9 votes
3 answers
30k views
Size of MD5 hash generated
I would be using MD5 hashing to store encrypted passwords. Password can be 6 to 40 characters long. What is the database column size required for storing the encrypted password. Also, if 40 characters ...
5 votes
4 answers
18k views
How do I encrypt URLs in ASP.NET MVC?
I need to Encrypt the URLs in my ASP.NET MVC application. Do I need to write the code in Global page in Route Collection to Encrypt all the URLs?
7 votes
4 answers
1k views
Hashing Passwords With Multiple Algorithms
Does using multiple algorithms make passwords more secure? (Or less?) Just to be clear, I'm NOT talking about doing anything like this: key = Hash(Hash(salt + password)) I'm talking about using two ...
2 votes
2 answers
6k views
How to encrypt in Python and decrypt in a C#?
I am new-ish to encryption, and have seen many different libraries, however many of them were created many years ago, I am just wondering what people use today to encrypt in python and something that ...
1 vote
2 answers
8k views
Hashing a password with pepper and salt in C# using Rfc2898DeriveBytes
I would like to hash passwords using PBKDF2 with a pepper and a salt in C#. I am a bit new to Cryptography, so feel free to correct me if I am wrong. I use the Rfc2898DeriveBytes Class because (...
-4 votes
2 answers
775 views
Which method is more secure for storing passwords in db c# [closed]
I am developing an API project which will have users who will be registering and logging in and out of an mobile application. I will be developing this application using web API .net core 5. I want to ...
2 votes
1 answer
478 views
Using Bcrypt with ServiceStack
I am looking to use ServiceStack for an upcoming project, but I want to use bcrypt for hashing passwords. Currently the builtin repositories use SHA256 hashing. Is there any way for me to leverage ...
1 vote
1 answer
433 views
C# Web.config using stronger like "Bcrypt" hashed password format in Form Authentication Credential
For some reason, I have to store the username and password under web.config. I used to store like the following: <authentication mode="Forms"> <forms name=".ASPNETAUTH" > <...