toggle menu
Mobile Credential Holder SDK
androidJvm
switch theme
search in API
Mobile Credential Holder SDK
/
global.mattr.mobilecredentialcommon.crypto
/
RandomBytesGenerator
Random
Bytes
Generator
class
RandomBytesGenerator
(
secureRandom
:
SecureRandom
=
getSecureRandom()
)
Members
Constructors
Random
Bytes
Generator
Link copied to clipboard
constructor
(
secureRandom
:
SecureRandom
=
getSecureRandom()
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
generate
Secure
Random
Byte
Array
Link copied to clipboard
fun
generateSecureRandomByteArray
(
size
:
Int
)
:
<Error class: unknown class>
generate
Secure
Random
String
Link copied to clipboard
fun
generateSecureRandomString
(
length
:
Int
,
charPool
:
CharSequence
=
defaultCharPool
)
:
String