mt_rand() is not secure from a cryptographic point of view, let's use openssl_random_pseudo_bytes() here
mt_rand() is not secure from a cryptographic point of view, let's use openssl_random_pseudo_bytes() here

owncloud/core,pmattern/server,phil-davis/core,lrytz/core,andreas-p/nextcloud-server,jbicha/server,nextcloud/server,endsguy/server,IljaN/core,lrytz/core,xx621998xx/server,cernbox/core,pixelipo/server,owncloud/core,nextcloud/server,lrytz/core,endsguy/server,endsguy/server,bluelml/core,sharidas/core,pmattern/server,pixelipo/server,xx621998xx/server,whitekiba/server,Ardinis/server,jbicha/server,pmattern/server,IljaN/core,lrytz/core,michaelletzgus/nextcloud-server,bluelml/core,sharidas/core,cernbox/core,xx621998xx/server,pmattern/server,nextcloud/server,bluelml/core,IljaN/core,michaelletzgus/nextcloud-server,IljaN/core,cernbox/core,whitekiba/server,owncloud/core,Ardinis/server,endsguy/server,andreas-p/nextcloud-server,whitekiba/server,andreas-p/nextcloud-server,cernbox/core,lrytz/core,jbicha/server,andreas-p/nextcloud-server,pixelipo/server,jbicha/server,sharidas/core,Ardinis/server,bluelml/core,sharidas/core,pixelipo/server,xx621998xx/server,whitekiba/server,pollopolea/core,pixelipo/server,bluelml/core,jbicha/server,owncloud/core,IljaN/core,michaelletzgus/nextcloud-server,whitekiba/server,cernbox/core,nextcloud/server,endsguy/server,Ardinis/server,pollopolea/core,pollopolea/core,owncloud/core,michaelletzgus/nextcloud-server,andreas-p/nextcloud-server,pollopolea/core,pollopolea/core,pmattern/server,Ardinis/server,sharidas/core,xx621998xx/server