0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 18:18:56 +02:00

ircd:Ⓜ️ Switch to ripemd160 for user::room.

This commit is contained in:
Jason Volk 2018-04-08 10:39:42 -07:00
parent a9cdab1e49
commit f3539f3dbe

View file

@ -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];