hexdigest => hexfinal
parent
841d2dc7c2
commit
3ddcd181dd
|
@ -58,7 +58,7 @@ class AuthD::Service < IPC::Server
|
||||||
def hash_password(password : String) : String
|
def hash_password(password : String) : String
|
||||||
digest = OpenSSL::Digest.new "sha256"
|
digest = OpenSSL::Digest.new "sha256"
|
||||||
digest << password
|
digest << password
|
||||||
digest.hexdigest
|
digest.hexfinal
|
||||||
end
|
end
|
||||||
|
|
||||||
def new_uid
|
def new_uid
|
||||||
|
|
Loading…
Reference in New Issue