mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-19 01:44:09 +01:00
Don't repeat fast hash bit
This commit is contained in:
parent
027c2d7260
commit
6660768d85
|
|
@ -130,10 +130,7 @@ Clients and identity servers MUST support SHA-256 as defined by [RFC
|
||||||
4634](https://tools.ietf.org/html/rfc4634), identified by the value
|
4634](https://tools.ietf.org/html/rfc4634), identified by the value
|
||||||
`"sha256"` in the `algorithms` array. SHA-256 was chosen as it is currently
|
`"sha256"` in the `algorithms` array. SHA-256 was chosen as it is currently
|
||||||
used throughout the Matrix spec, as well as its properties of being quick to
|
used throughout the Matrix spec, as well as its properties of being quick to
|
||||||
hash. While this reduces the resources necessary to generate a rainbow table
|
hash.
|
||||||
for attackers, a fast hash is necessary if particularly slow mobile clients
|
|
||||||
are going to be hashing thousands of contact details. Other algorithms are
|
|
||||||
negotiated by the client and server at their discretion.
|
|
||||||
|
|
||||||
There are certain situations when an identity server cannot be expected to
|
There are certain situations when an identity server cannot be expected to
|
||||||
compare hashed 3PID values; for example, when a server is connected to a
|
compare hashed 3PID values; for example, when a server is connected to a
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue