toggle menu
cryptography-kotlin
0.4.0
common
jvm
switch theme
search in API
cryptography-random
/
dev.whyoleg.cryptography.random
/
CryptographyRandom
Cryptography
Random
abstract
class
CryptographyRandom
:
Random
(
source
)
Inheritors
Default
Members
Members & Extensions
Constructors
Cryptography
Random
Link copied to clipboard
constructor
(
)
Types
Default
Link copied to clipboard
object
Default
:
CryptographyRandom
Functions
as
Secure
Random
Link copied to clipboard
jvm
fun
CryptographyRandom
.
asSecureRandom
(
)
:
SecureRandom
next
Bits
Link copied to clipboard
abstract
fun
nextBits
(
bitCount
:
Int
)
:
Int
next
Boolean
Link copied to clipboard
open
fun
nextBoolean
(
)
:
Boolean
next
Bytes
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
next
Double
Link copied to clipboard
open
fun
nextDouble
(
)
:
Double
open
fun
nextDouble
(
until
:
Double
)
:
Double
open
fun
nextDouble
(
from
:
Double
,
until
:
Double
)
:
Double
next
Float
Link copied to clipboard
open
fun
nextFloat
(
)
:
Float
next
Int
Link copied to clipboard
open
fun
nextInt
(
)
:
Int
open
fun
nextInt
(
until
:
Int
)
:
Int
open
fun
nextInt
(
from
:
Int
,
until
:
Int
)
:
Int
next
Long
Link copied to clipboard
open
fun
nextLong
(
)
:
Long
open
fun
nextLong
(
until
:
Long
)
:
Long
open
fun
nextLong
(
from
:
Long
,
until
:
Long
)
:
Long