mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-17 17:44:02 -05:00
feat: cargo project at root
This commit is contained in:
parent
aa0c0623ca
commit
709a2820c4
313 changed files with 1 additions and 740 deletions
5
src-gui/src/utils/cryptoUtils.ts
Normal file
5
src-gui/src/utils/cryptoUtils.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { createHash } from 'crypto';
|
||||
|
||||
export function sha256(data: string): string {
|
||||
return createHash('md5').update(data).digest('hex');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue