These .rnd files are created by openssl which is called by nextcloud. Here are some more details about them. It’s fine that these files in your nextcloud directory.
Starting with Nextcloud 17 these files are ignored from integrity check and updater.