ns = options || {};
        this.privateKey = options.privateKey ? util.hexToByteArray(options.privateKey) : util.secureRandom(32);
        this.privateKeyHex = util.byteArrayToHex(this.privateKey);
        this.privateKeyInt = BigInteger(this.privateKeyHex, 16);
        this.compressed = !!options.compressed;
        this.X9ECParamsName = options.X9ECParamsName || 'secp256k1';
        this.ecurve = new EllipticCurve(this.X9ECParamsName, this.privateKeyInt);
    }

    Wallet.prototype = {
        getPublic