private static Bytes addPadding(final Bytes message) {
    final byte[] raw = message.toArray();
    final int padding = 100 + RANDOM.nextInt(200);
    final byte[] paddingBytes = new byte[padding];
    RANDOM.nextBytes(paddingBytes);
    return Bytes.wrap(ByteBuffer.allocate(raw.length + padding).put(raw).put(paddingBytes).array());
  }
Encrypts a message for the specified peer using ECIES.

@param message The plaintext.
@param remoteKey The peer's remote key.
@return The ciphertext.
@throws InvalidCipherTextException Thrown if encryption failed.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/rlpx/handshake/ecies/EncryptedMessage.java