mirror of
https://github.com/mashirozx/sakura.git
synced 2025-05-29 01:49:21 +08:00
6 lines
126 B
TypeScript
6 lines
126 B
TypeScript
import { MD5 } from 'crypto-js'
|
|
|
|
export default function () {
|
|
return MD5(Math.random().toString()).toString().slice(0, 8)
|
|
}
|