mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
Add initial files
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { type BinaryLike, createHash } from 'crypto';
|
||||
|
||||
export function sha256sum(data: BinaryLike) {
|
||||
return createHash('sha256').update(data).digest('hex');
|
||||
}
|
||||
Reference in New Issue
Block a user