Relative Content

Tag Archive for javakotlinbcrypt

BCrypt does not detect changes near the end of very long passwords

I need some help to understand what is happening here. This test demonstrates the issue I’m having. I have a very long password, and I use BCrypt to hash it. I then try to verify the actual and hashed values. The problem I’m facing, is the library seems to return true on my modified password as well. The last assert is where this happens. I am removing the last 10 characters from my original password, why would BCrypt still match the hashed value?

BCrypt does not detect changes near the end of very long passwords

I need some help to understand what is happening here. This test demonstrates the issue I’m having. I have a very long password, and I use BCrypt to hash it. I then try to verify the actual and hashed values. The problem I’m facing, is the library seems to return true on my modified password as well. The last assert is where this happens. I am removing the last 10 characters from my original password, why would BCrypt still match the hashed value?

BCrypt does not detect changes near the end of very long passwords

I need some help to understand what is happening here. This test demonstrates the issue I’m having. I have a very long password, and I use BCrypt to hash it. I then try to verify the actual and hashed values. The problem I’m facing, is the library seems to return true on my modified password as well. The last assert is where this happens. I am removing the last 10 characters from my original password, why would BCrypt still match the hashed value?

BCrypt does not detect changes near the end of very long passwords

I need some help to understand what is happening here. This test demonstrates the issue I’m having. I have a very long password, and I use BCrypt to hash it. I then try to verify the actual and hashed values. The problem I’m facing, is the library seems to return true on my modified password as well. The last assert is where this happens. I am removing the last 10 characters from my original password, why would BCrypt still match the hashed value?