Files
memecoin-botV2/.pnpm-store/v10/files/a0/f2a26fb4a32135a82e5c8996e5cdabf7ccf4e7c3d81e63703f05ff9690bbf36ebe90a8a703e6ffa094494aacd9fa858d256c1b2f3a1d58ed57005732b12dfa

16 lines
589 B
Plaintext

/**
* Utilities for short weierstrass curves, combined with noble-hashes.
* @module
*/
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
import { weierstrass } from "./abstract/weierstrass.js";
/** connects noble-curves to noble-hashes */
export function getHash(hash) {
return { hash };
}
/** @deprecated use new `weierstrass()` and `ecdsa()` methods */
export function createCurve(curveDef, defHash) {
const create = (hash) => weierstrass({ ...curveDef, hash: hash });
return { ...create(defHash), create };
}
//# sourceMappingURL=_shortw_utils.js.map