1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-10 11:25:00 -05:00
Commit Graph

6 Commits

Author SHA1 Message Date
Jonas Schäfer
e80ab1bf86 XEP-0414: deferred due to lack of activity 2021-07-13 10:20:19 +02:00
Sergey Ilinykh
943ee76cb8 XEP-0414: Reverse SHOULD/MUST for Blake2b algorithms
While Blake2b is capable to produce digests of any size from 1 to 64 bytes, It's default mode is 64 bytes (512 bits) though.
Some libraries implement just default digest size.

* OpenSSL supports blake2s-256 and blake2b-512 (no blake2b-256)
* gcrypt supports both blake2b-256 and blake2b-512
* nss supports none of blake2b
* Botan - any digest size
* Java: https://github.com/alphazero/Blake2b - any digest size
* Go-lang: https://godoc.org/golang.org/x/crypto/blake2b - both blake2b-256 and blake2b-512
* Rust: https://docs.rs/blake2/0.8.1/blake2/ - any digest size, 512 by default
* JS: https://github.com/dcposch/blakejs - any digest size, 512 by default

Also various libraries based on openssl will provide just blake2b-512.
So it looks to be a preferable choice over blake2b-256
2020-05-26 17:27:03 +02:00
Jonas Schäfer
81ab876a68 XEP-0414: Add revision block 2019-08-20 17:36:49 +02:00
Jonas Schäfer
f3273b122d XEP-0414: Drop dangling reference 2019-08-19 18:08:25 +02:00
Jonas Schäfer
131ff9dc2b XEP-0414: remove reference to hashes namespace 2019-04-28 13:25:15 +02:00
Jonas Schäfer
285f23a9e6 Accept inbox/hash-recommendations.xml as XEP-0414 2019-02-04 16:39:19 +01:00