public Bytes getIv() {
    return Bytes.wrap(iv);
  }
Returns the initialization vector.

<p>When encrypting a payload this value is automatically generated and accessible via this
getter.

@return The initialization vector in use.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/rlpx/handshake/ecies/ECIESEncryptionEngine.java