PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/node_modules/@hashgraph/cryptography/src
Просмотр файла: Cache.js
/**
* @typedef {import("./PrivateKey.js").default} PrivateKey
* @typedef {import("./Ed25519PrivateKey.js").default} Ed25519PrivateKey
* @typedef {import("./EcdsaPrivateKey.js").default} EcdsaPrivateKey
* @typedef {import("./Mnemonic.js").default} Mnemonic
*/
const CACHE = {
/** @type {((key: Ed25519PrivateKey | EcdsaPrivateKey) => PrivateKey) | null} */
privateKeyConstructor: null,
/** @type {((bytes: Uint8Array) => PrivateKey) | null} */
privateKeyFromBytes: null,
/** @type {((words: string) => Mnemonic) | null} */
mnemonicFromString: null,
};
export default CACHE;
Выполнить команду
Для локальной разработки. Не используйте в интернете!