CryptographyRandom

abstract class CryptographyRandom : Random(source)

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun nextBits(bitCount: Int): Int
Link copied to clipboard
open fun nextBoolean(): Boolean
Link copied to clipboard
open fun nextBytes(array: ByteArray): ByteArray
open fun nextBytes(size: Int): ByteArray
open fun nextBytes(array: ByteArray, fromIndex: Int, toIndex: Int): ByteArray
Link copied to clipboard
open fun nextDouble(): Double
open fun nextDouble(until: Double): Double
open fun nextDouble(from: Double, until: Double): Double
Link copied to clipboard
open fun nextFloat(): Float
Link copied to clipboard
open fun nextInt(): Int
open fun nextInt(until: Int): Int
open fun nextInt(from: Int, until: Int): Int
Link copied to clipboard
open fun nextLong(): Long
open fun nextLong(until: Long): Long
open fun nextLong(from: Long, until: Long): Long