mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️ Switch to ripemd160 for user::room.
This commit is contained in:
parent
a9cdab1e49
commit
f3539f3dbe
1 changed files with 2 additions and 2 deletions
|
@ -992,9 +992,9 @@ ircd::m::user::room_id(const mutable_buffer &buf)
|
|||
const
|
||||
{
|
||||
assert(!empty(user_id));
|
||||
const sha256::buf hash
|
||||
const ripemd160::buf hash
|
||||
{
|
||||
sha256{user_id}
|
||||
ripemd160{user_id}
|
||||
};
|
||||
|
||||
char b58[size(hash) * 2];
|
||||
|
|
Loading…
Reference in a new issue