PHP WebShell

Текущая директория: /opt/BitGoJS/modules/sdk-core/dist/src/bitgo

Просмотр файла: bip32util.d.ts

import { BIP32Interface } from '@bitgo/utxo-lib';
/**
 * bip32-aware wrapper around bitcoin-message package
 * @see {bitcoinMessage.sign}
 */
export declare function signMessage(message: string, privateKey: BIP32Interface | Buffer, network: {
    messagePrefix: string;
}): Buffer;
/**
 * bip32-aware wrapper around bitcoin-message package
 * @see {bitcoinMessage.verify}
 */
export declare function verifyMessage(message: string, publicKey: BIP32Interface | Buffer, signature: Buffer, network: {
    messagePrefix: string;
}): boolean;
//# sourceMappingURL=bip32util.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!