Primeiro commit do projeto Angular

This commit is contained in:
2026-03-14 20:41:55 +00:00
parent 9bebe1de72
commit 94f4f46395
22413 changed files with 3221690 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { hash } from 'node:crypto'
import { makeBase58check } from './fallback/base58check.js'
const sha256 = (x) => hash('sha256', x, 'buffer')
const hash256 = (x) => sha256(sha256(x))
const {
encode: toBase58check,
decode: fromBase58check,
encodeSync: toBase58checkSync,
decodeSync: fromBase58checkSync,
} = makeBase58check(hash256, hash256)
export { makeBase58check } from './fallback/base58check.js'
export { toBase58check, fromBase58check, toBase58checkSync, fromBase58checkSync }