# 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](https://doc.rust-lang.org/cargo/) to run the project
```sh
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