mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
use hash algo that's robust against collisions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
af8d300bd2
commit
9db6c7d9c2
2 changed files with 2 additions and 2 deletions
|
|
@ -208,7 +208,7 @@ class Connection extends LDAPUtility {
|
|||
if(is_null($key)) {
|
||||
return $prefix;
|
||||
}
|
||||
return $prefix.md5($key);
|
||||
return $prefix.hash('sha256', $key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ abstract class Proxy {
|
|||
if(is_null($key)) {
|
||||
return $prefix;
|
||||
}
|
||||
return $prefix.md5($key);
|
||||
return $prefix.hash('sha256', $key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue