#unique-id #hangeul #id #unique

hangeul-id

Shorter unique id using Hangeul

1 unstable release

0.1.0 Jan 21, 2022

#2378 in Algorithms

MIT license

23KB
249 lines

Hangeul-id-rs

An unique shorter id library for rust using Hangeul inspired by Hashids

Features

  • Generate Hangeul id from decimal integer

Usage

[dependencies]
hangeul-id = "0.1.0"
use hangeul_id::HangeulId;

fn main() {
    let hangeulid = HangeulId::new();
    let id = hangeulid.int_to_hangeul_id(12345678);
    println!("{}", id) // print hangeul id matching 12345678
}

lib.rs:

Hangeul ID

Hangeul ID is a shorter unique id library using Hangeul

No runtime deps