num2phrase

Crates.ionum2phrase
lib.rsnum2phrase
version0.1.0
created_at2025-09-21 23:34:33.277624+00
updated_at2025-09-21 23:34:33.277624+00
descriptionConvert long number to a sequence of memorisable phrase with combination of short numbers
homepage
repositoryhttps://github.com/i-am-unknown-81514525/num2phrase/tree/main
max_upload_size
id1849306
size60,709
(i-am-unknown-81514525)

documentation

README

num2phrase

Convert long number to a sequence of memorisable phrase with combination of short numbers

For now this is some sort of WIP but still work for the least Some issue known:

  • This doesn't guarentee that when a number map to a string, the string would be map back to the number due to schema constraint (cannot be fix)
  • The back choice of length for repeat (can be fix but too complex for now)

How to run

You would have to install it though cargo to run the project

cargo install num2phrase # For the time being, it is not on cargo yet, unless you are viewing in cargo
num2phrase encode # Your cargo bin directory must be in PATH first
num2phrase decode

and then just run the executable

This can also be used as a library/crate alongside as an executable, however, using this for practical reason is not recommended unless you know what you are doing.

Video Demo

https://github.com/user-attachments/assets/30cdbaa8-4db4-45ab-86e5-e1801dcfcbb7

Commit count: 9

cargo fmt