message: Update Buffer creation (as this way is deprecated)
diff: @@ -62,7 +62,7 @@ export function getHexFromBN(bnInput: Object) {
  */
  export function encryptECIES(publicKey: string, content: string | Buffer) {
  const isString = (typeof(content) === 'string')
  - const plainText = new Buffer(content) // always copy to buffer
  + const plainText = Buffer.from(content) // always copy to buffer
  const ecPK = ecurve.keyFromPublic(publicKey, 'hex').getPublic()
  const ephemeralSK = ecurve.genKeyPair()
  