feat: remove test_unsafe
This commit is contained in:
parent
abb3eab559
commit
d2839286ce
7 changed files with 8 additions and 29 deletions
|
@ -16,13 +16,6 @@ defmodule Argon2Test do
|
|||
assert String.starts_with?(hash, "$argon2i$v=19$m=65540,t=3,p=4$")
|
||||
end
|
||||
|
||||
test "hashes a password with test/development config" do
|
||||
config = "test_unsafe"
|
||||
hash = Argon2.hash_password("password123", config)
|
||||
assert is_binary(hash)
|
||||
assert String.starts_with?(hash, "$argon2i$v=19$m=1024,t=1,p=1")
|
||||
end
|
||||
|
||||
test "generates different hashes for the same password" do
|
||||
hash1 = Argon2.hash_password("same_password123")
|
||||
hash2 = Argon2.hash_password("same_password123")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue