Development Artifact Cleanup: ✅ BROTHER_NODE REORGANIZATION: Moved development test node to appropriate location - dev/test-nodes/brother_node/: Moved from root directory for better organization - Contains development configuration, test logs, and test chain data - No impact on production systems - purely development/testing artifact ✅ DEVELOPMENT ARTIFACTS IDENTIFIED: - Chain ID: aitbc-brother-chain (test/development chain) - Ports: 8010 (P2P) and 8011 (RPC) - different from production - Environment: .env file with test configuration - Logs: rpc.log and node.log from development testing session (March 15, 2026) ✅ ROOT DIRECTORY CLEANUP: Removed development clutter from production directory - brother_node/ moved to dev/test-nodes/brother_node/ - Root directory now contains only production-ready components - Development artifacts properly organized in dev/ subdirectory DIRECTORY STRUCTURE IMPROVEMENT: 📁 dev/test-nodes/: Development and testing node configurations 🏗️ Root Directory: Clean production structure with only essential components 🧪 Development Isolation: Test environments separated from production BENEFITS: ✅ Clean Production Directory: No development artifacts in root ✅ Better Organization: Development nodes grouped in dev/ subdirectory ✅ Clear Separation: Production vs development environments clearly distinguished ✅ Maintainability: Easier to identify and manage development components RESULT: Successfully moved brother_node development artifact to dev/test-nodes/ subdirectory, cleaning up the root directory while preserving development testing environment for future use.
105 lines
6.7 KiB
TypeScript
Executable File
105 lines
6.7 KiB
TypeScript
Executable File
export declare const p384: Readonly<{
|
|
create: (hash: import("./abstract/utils.js").CHash) => import("./abstract/weierstrass.js").CurveFn;
|
|
CURVE: Readonly<{
|
|
readonly nBitLength: number;
|
|
readonly nByteLength: number;
|
|
readonly Fp: import("./abstract/modular.js").IField<bigint>;
|
|
readonly n: bigint;
|
|
readonly h: bigint;
|
|
readonly hEff?: bigint | undefined;
|
|
readonly Gx: bigint;
|
|
readonly Gy: bigint;
|
|
readonly allowInfinityPoint?: boolean | undefined;
|
|
readonly a: bigint;
|
|
readonly b: bigint;
|
|
readonly allowedPrivateKeyLengths?: readonly number[] | undefined;
|
|
readonly wrapPrivateKey?: boolean | undefined;
|
|
readonly endo?: {
|
|
beta: bigint;
|
|
splitScalar: (k: bigint) => {
|
|
k1neg: boolean;
|
|
k1: bigint;
|
|
k2neg: boolean;
|
|
k2: bigint;
|
|
};
|
|
} | undefined;
|
|
readonly isTorsionFree?: ((c: import("./abstract/weierstrass.js").ProjConstructor<bigint>, point: import("./abstract/weierstrass.js").ProjPointType<bigint>) => boolean) | undefined;
|
|
readonly clearCofactor?: ((c: import("./abstract/weierstrass.js").ProjConstructor<bigint>, point: import("./abstract/weierstrass.js").ProjPointType<bigint>) => import("./abstract/weierstrass.js").ProjPointType<bigint>) | undefined;
|
|
readonly hash: import("./abstract/utils.js").CHash;
|
|
readonly hmac: (key: Uint8Array, ...messages: Uint8Array[]) => Uint8Array;
|
|
readonly randomBytes: (bytesLength?: number | undefined) => Uint8Array;
|
|
lowS: boolean;
|
|
readonly bits2int?: ((bytes: Uint8Array) => bigint) | undefined;
|
|
readonly bits2int_modN?: ((bytes: Uint8Array) => bigint) | undefined;
|
|
readonly p: bigint;
|
|
}>;
|
|
getPublicKey: (privateKey: import("./abstract/utils.js").PrivKey, isCompressed?: boolean | undefined) => Uint8Array;
|
|
getSharedSecret: (privateA: import("./abstract/utils.js").PrivKey, publicB: import("./abstract/utils.js").Hex, isCompressed?: boolean | undefined) => Uint8Array;
|
|
sign: (msgHash: import("./abstract/utils.js").Hex, privKey: import("./abstract/utils.js").PrivKey, opts?: import("./abstract/weierstrass.js").SignOpts | undefined) => import("./abstract/weierstrass.js").RecoveredSignatureType;
|
|
verify: (signature: import("./abstract/utils.js").Hex | {
|
|
r: bigint;
|
|
s: bigint;
|
|
}, msgHash: import("./abstract/utils.js").Hex, publicKey: import("./abstract/utils.js").Hex, opts?: import("./abstract/weierstrass.js").VerOpts | undefined) => boolean;
|
|
ProjectivePoint: import("./abstract/weierstrass.js").ProjConstructor<bigint>;
|
|
Signature: import("./abstract/weierstrass.js").SignatureConstructor;
|
|
utils: {
|
|
normPrivateKeyToScalar: (key: import("./abstract/utils.js").PrivKey) => bigint;
|
|
isValidPrivateKey(privateKey: import("./abstract/utils.js").PrivKey): boolean;
|
|
randomPrivateKey: () => Uint8Array;
|
|
precompute: (windowSize?: number | undefined, point?: import("./abstract/weierstrass.js").ProjPointType<bigint> | undefined) => import("./abstract/weierstrass.js").ProjPointType<bigint>;
|
|
};
|
|
}>;
|
|
export declare const secp384r1: Readonly<{
|
|
create: (hash: import("./abstract/utils.js").CHash) => import("./abstract/weierstrass.js").CurveFn;
|
|
CURVE: Readonly<{
|
|
readonly nBitLength: number;
|
|
readonly nByteLength: number;
|
|
readonly Fp: import("./abstract/modular.js").IField<bigint>;
|
|
readonly n: bigint;
|
|
readonly h: bigint;
|
|
readonly hEff?: bigint | undefined;
|
|
readonly Gx: bigint;
|
|
readonly Gy: bigint;
|
|
readonly allowInfinityPoint?: boolean | undefined;
|
|
readonly a: bigint;
|
|
readonly b: bigint;
|
|
readonly allowedPrivateKeyLengths?: readonly number[] | undefined;
|
|
readonly wrapPrivateKey?: boolean | undefined;
|
|
readonly endo?: {
|
|
beta: bigint;
|
|
splitScalar: (k: bigint) => {
|
|
k1neg: boolean;
|
|
k1: bigint;
|
|
k2neg: boolean;
|
|
k2: bigint;
|
|
};
|
|
} | undefined;
|
|
readonly isTorsionFree?: ((c: import("./abstract/weierstrass.js").ProjConstructor<bigint>, point: import("./abstract/weierstrass.js").ProjPointType<bigint>) => boolean) | undefined;
|
|
readonly clearCofactor?: ((c: import("./abstract/weierstrass.js").ProjConstructor<bigint>, point: import("./abstract/weierstrass.js").ProjPointType<bigint>) => import("./abstract/weierstrass.js").ProjPointType<bigint>) | undefined;
|
|
readonly hash: import("./abstract/utils.js").CHash;
|
|
readonly hmac: (key: Uint8Array, ...messages: Uint8Array[]) => Uint8Array;
|
|
readonly randomBytes: (bytesLength?: number | undefined) => Uint8Array;
|
|
lowS: boolean;
|
|
readonly bits2int?: ((bytes: Uint8Array) => bigint) | undefined;
|
|
readonly bits2int_modN?: ((bytes: Uint8Array) => bigint) | undefined;
|
|
readonly p: bigint;
|
|
}>;
|
|
getPublicKey: (privateKey: import("./abstract/utils.js").PrivKey, isCompressed?: boolean | undefined) => Uint8Array;
|
|
getSharedSecret: (privateA: import("./abstract/utils.js").PrivKey, publicB: import("./abstract/utils.js").Hex, isCompressed?: boolean | undefined) => Uint8Array;
|
|
sign: (msgHash: import("./abstract/utils.js").Hex, privKey: import("./abstract/utils.js").PrivKey, opts?: import("./abstract/weierstrass.js").SignOpts | undefined) => import("./abstract/weierstrass.js").RecoveredSignatureType;
|
|
verify: (signature: import("./abstract/utils.js").Hex | {
|
|
r: bigint;
|
|
s: bigint;
|
|
}, msgHash: import("./abstract/utils.js").Hex, publicKey: import("./abstract/utils.js").Hex, opts?: import("./abstract/weierstrass.js").VerOpts | undefined) => boolean;
|
|
ProjectivePoint: import("./abstract/weierstrass.js").ProjConstructor<bigint>;
|
|
Signature: import("./abstract/weierstrass.js").SignatureConstructor;
|
|
utils: {
|
|
normPrivateKeyToScalar: (key: import("./abstract/utils.js").PrivKey) => bigint;
|
|
isValidPrivateKey(privateKey: import("./abstract/utils.js").PrivKey): boolean;
|
|
randomPrivateKey: () => Uint8Array;
|
|
precompute: (windowSize?: number | undefined, point?: import("./abstract/weierstrass.js").ProjPointType<bigint> | undefined) => import("./abstract/weierstrass.js").ProjPointType<bigint>;
|
|
};
|
|
}>;
|
|
export declare const hashToCurve: (msg: Uint8Array, options?: import("./abstract/hash-to-curve.js").htfBasicOpts | undefined) => import("./abstract/hash-to-curve.js").H2CPoint<bigint>;
|
|
export declare const encodeToCurve: (msg: Uint8Array, options?: import("./abstract/hash-to-curve.js").htfBasicOpts | undefined) => import("./abstract/hash-to-curve.js").H2CPoint<bigint>;
|
|
//# sourceMappingURL=p384.d.ts.map
|