Nextcloud PHP API (master)

ISecureRandom.php

SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors SPDX-FileCopyrightText: 2016 ownCloud, Inc.

SPDX-License-Identifier: AGPL-3.0-only

Table of Contents

Interfaces

ISecureRandom
Class SecureRandom provides a wrapper around the random_int function to generate secure random strings. For PHP 7 the native CSPRNG is used, older versions do use a fallback.

        
On this page

Search results