static Bytes randomId() {
    final byte[] id = new byte[EnodeURLImpl.NODE_ID_SIZE];
    SecureRandomProvider.publicSecureRandom().nextBytes(id);
    return Bytes.wrap(id);
  }
Generates a random peer ID in a secure manner.

@return The generated peer ID.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/peers/Peer.java