Skip to content

Go library to generate deterministic random license‑plate strings (format XX‑000‑000‑XX) from seeds or input strings.

License

Notifications You must be signed in to change notification settings

Mathious6/platekit

Repository files navigation

platekit

CI Go Reference

Go library to generate deterministic random license‑plate strings (format XX-000-000-XX) from seeds or input strings.

Installation

go get github.com/Mathious6/platekit

Usage

package main

import (
	"fmt"
	"github.com/Mathious6/platekit"
)

func main() {
	fmt.Println("Random plate:", platekit.Generate())
	fmt.Println("Plate from seed (42):", platekit.GenerateFromSeed(42))
	fmt.Println("Plate from string ('hello'):", platekit.GenerateFromString("hello"))
}

Features

  • Deterministic output from seed or string
  • Simple, fast, and dependency-free
  • Always returns a string in the format XX-000-000-XX

Inspiration

This project was inspired by hugoattal/hashplate, a tiny and fast library to generate human-readable hashes in the style of license plates.

Used in


Feel free to open issues or PRs for improvements!

About

Go library to generate deterministic random license‑plate strings (format XX‑000‑000‑XX) from seeds or input strings.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages