index.js
/**
     * Generate a new key pair and set options.privateKeyID and options.sig
     * 
     * @return {Promise<Number>}
     */
Generate a new key pair and set options.privateKeyID and options.sig

@return {Promise}
Generate a new key pair and set options . privateKeyID and options . sig @return { Promise }
async useNewKeyPair() {
        this.options.privateKeyID = await this.web3.shh.newKeyPair();
        this.options.sig = this.options.privateKeyID;
        return this.options.privateKeyID;
    }
async useNewKeyPair ( ) { this . options . privateKeyID = await this . web3 . shh . newKeyPair ( ) ; this . options . sig = this . options . privateKeyID ; return this . options . privateKeyID ; }
Generate a new key pair and set options.privateKeyID and options.sig
Generate a new key pair and set options . privateKeyID and options . sig