修改后台权限
This commit is contained in:
19
node_modules/@noble/curves/_shortw_utils.d.ts
generated
vendored
Normal file
19
node_modules/@noble/curves/_shortw_utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Utilities for short weierstrass curves, combined with noble-hashes.
|
||||
* @module
|
||||
*/
|
||||
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
||||
import { type CurveFn, type CurveType } from './abstract/weierstrass.ts';
|
||||
import type { CHash } from './utils.ts';
|
||||
/** connects noble-curves to noble-hashes */
|
||||
export declare function getHash(hash: CHash): {
|
||||
hash: CHash;
|
||||
};
|
||||
/** Same API as @noble/hashes, with ability to create curve with custom hash */
|
||||
export type CurveDef = Readonly<Omit<CurveType, 'hash'>>;
|
||||
export type CurveFnWithCreate = CurveFn & {
|
||||
create: (hash: CHash) => CurveFn;
|
||||
};
|
||||
/** @deprecated use new `weierstrass()` and `ecdsa()` methods */
|
||||
export declare function createCurve(curveDef: CurveDef, defHash: CHash): CurveFnWithCreate;
|
||||
//# sourceMappingURL=_shortw_utils.d.ts.map
|
||||
Reference in New Issue
Block a user