mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-18 01:54:29 -05:00
feat: cargo project at root
This commit is contained in:
parent
bde04fbd76
commit
8c4531cfd3
493 changed files with 9665 additions and 1795 deletions
5
src-xmr-btc-swap/src-gui/src/utils/cryptoUtils.ts
Normal file
5
src-xmr-btc-swap/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