#numbers #convert #long #phrase-of-short #phrase-with-combination

bin+lib num2phrase

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

1 unstable release

Uses new Rust 2024

0.1.0 Sep 21, 2025

#2486 in Math

Apache-2.0

47KB
876 lines

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

Dependencies

~0.5–1MB
~22K SLoC