/unique_str_id

Convert an integer ID to an unique string

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

unique_str_id

Convert an integer ID to an unique string

需求

  • 将一个整数ID转为唯一字符串
  • 可指定串长度和所用字符集合
  • 串内容随机,不可被猜测,不可重复
  • 不需要数据库