refactor: rename shared package to core (#24309)
This commit is contained in:
parent
37aa8442dc
commit
62ef2a2207
166 changed files with 218 additions and 218 deletions
7
packages/core/src/util/hash.ts
Normal file
7
packages/core/src/util/hash.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { createHash } from "crypto"
|
||||
|
||||
export namespace Hash {
|
||||
export function fast(input: string | Buffer): string {
|
||||
return createHash("sha1").update(input).digest("hex")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue