1 unstable release
Uses new Rust 2024
| 0.1.0 | Jul 9, 2026 |
|---|
#11 in #random-seed
7KB
71 lines
i0 (i0-cli)
generates a new i0
installation
cargo install i0-cli
usage
to generate a new i0-dentifier, just run i0:
% i0
# i0 -v 3 -d '' -t '213f1cb' -s 'KNNL3-mg3GEOv_-UQ9ycV1JsBNbOV6dG3mNCXZiFYQ4'
long: i0:3/13ts6bo1yiqcfnys
short: 96636f0
usually, you'd want to provide a designation and a timestamp (if the timestamp is now, it can be omitted):
% i0 -d mint -t '213f1cb'
# i0 -v 3 -d 'mint' -t '213f1cb' -s 'qy7NOjgnQKLMcY4TLUbK_7CNUHqNU9UZO4hJBqLhl-A'
long: i0:3/wzehtjucjbm4qcrt
short: a5d1c8a
each output contains the arguments (including the random seed) to generate the exact same i0-dentifier again:
% i0 -v 3 -d 'mint' -t '213f1cb' -s 'qy7NOjgnQKLMcY4TLUbK_7CNUHqNU9UZO4hJBqLhl-A'
# i0 -v 3 -d 'mint' -t '213f1cb' -s 'qy7NOjgnQKLMcY4TLUbK_7CNUHqNU9UZO4hJBqLhl-A'
long: i0:3/wzehtjucjbm4qcrt
short: a5d1c8a
see also
- i0 rust library to integrate i0 into other rust projects
i0-digfor brute-forcing a vanity i0-dentifieri0-benchto compare how fast different devices can generate new i0-dentifiers
Dependencies
~2–4MB
~81K SLoC