Commit graph

4 commits

Author SHA1 Message Date
Kim Alvefur
43531740f9 util: Prefix module imports with prosody namespace 2023-03-17 16:23:16 +01:00
Kim Alvefur
b332a2aa42 util.id: Add a 'tiny' variant
Conversations uses this for its randomized resources. Presumably fine
and collision resistant enough when you have a few devices at most.
2021-12-02 00:13:23 +01:00
Kim Alvefur
a3ea469ed9 util.id: Adjust entropy levels, with rationales
Modules using ids for logging should not need the now pretty large
medium one.
2021-12-02 01:14:55 +01:00
Kim Alvefur
7b5aa05b02 util.id: New util for producing random identifiers of varying sizes 2017-03-29 22:38:31 +02:00