mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
feat: electron app (#1586)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import type { BinaryLike } from 'crypto';
|
||||
import { createHash } from 'crypto';
|
||||
|
||||
export function sha256sum(data: BinaryLike) {
|
||||
return createHash('sha256').update(data).digest('hex');
|
||||
}
|
||||
Reference in New Issue
Block a user