toggle menu
cryptography-kotlin
0.4.0
common
jvm
switch theme
search in API
cryptography-random
/
dev.whyoleg.cryptography.random
/
CryptographyRandom
/
Default
Default
object
Default
:
CryptographyRandom
(
source
)
Members
Members & Extensions
Functions
as
Secure
Random
Link copied to clipboard
jvm
fun
CryptographyRandom
.
asSecureRandom
(
)
:
SecureRandom
next
Bits
Link copied to clipboard
open
override
fun
nextBits
(
bitCount
:
Int
)
:
Int
next
Boolean
Link copied to clipboard
open
override
fun
nextBoolean
(
)
:
Boolean
next
Bytes
Link copied to clipboard
open
override
fun
nextBytes
(
array
:
ByteArray
)
:
ByteArray
open
override
fun
nextBytes
(
size
:
Int
)
:
ByteArray
open
override
fun
nextBytes
(
array
:
ByteArray
,
fromIndex
:
Int
,
toIndex
:
Int
)
:
ByteArray
next
Double
Link copied to clipboard
open
override
fun
nextDouble
(
)
:
Double
open
override
fun
nextDouble
(
until
:
Double
)
:
Double
open
override
fun
nextDouble
(
from
:
Double
,
until
:
Double
)
:
Double
next
Float
Link copied to clipboard
open
override
fun
nextFloat
(
)
:
Float
next
Int
Link copied to clipboard
open
override
fun
nextInt
(
)
:
Int
open
override
fun
nextInt
(
until
:
Int
)
:
Int
open
override
fun
nextInt
(
from
:
Int
,
until
:
Int
)
:
Int
next
Long
Link copied to clipboard
open
override
fun
nextLong
(
)
:
Long
open
override
fun
nextLong
(
until
:
Long
)
:
Long
open
override
fun
nextLong
(
from
:
Long
,
until
:
Long
)
:
Long