ipfs storage for images and other nontext items. for use with etica - runs on etica network and currencys
https://collect.etica-stats.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
976 B
30 lines
976 B
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ |
|
import { sha256 } from '@noble/hashes/sha256'; |
|
import { weierstrass } from './abstract/weierstrass.js'; |
|
import { getHash } from './_shortw_utils.js'; |
|
import * as mod from './abstract/modular.js'; |
|
export const p = BigInt('0x40000000000000000000000000000000224698fc094cf91b992d30ed00000001'); |
|
export const q = BigInt('0x40000000000000000000000000000000224698fc0994a8dd8c46eb2100000001'); |
|
// https://neuromancer.sk/std/other/Pallas |
|
export const pallas = weierstrass({ |
|
a: BigInt(0), |
|
b: BigInt(5), |
|
Fp: mod.Field(p), |
|
n: q, |
|
Gx: mod.mod(BigInt(-1), p), |
|
Gy: BigInt(2), |
|
h: BigInt(1), |
|
...getHash(sha256), |
|
}); |
|
// https://neuromancer.sk/std/other/Vesta |
|
export const vesta = weierstrass({ |
|
a: BigInt(0), |
|
b: BigInt(5), |
|
Fp: mod.Field(q), |
|
n: p, |
|
Gx: mod.mod(BigInt(-1), q), |
|
Gy: BigInt(2), |
|
h: BigInt(1), |
|
...getHash(sha256), |
|
}); |
|
//# sourceMappingURL=pasta.js.map
|