class CryptographyProvider: AbstractFakeDataProvider<CryptographyProvider>
Fields
Name | Description |
---|---|
protected category: Category
|
Category of |
protected localUniqueDataProvider: LocalUniqueDataProvider<CryptographyProvider>
|
A LocalUniqueDataProvider instance that is used with this unique provider. |
val unique: CryptographyProvider
|
An instance of T for generating unique values |
Methods
md5
fun md5(): String
Generates and returns a pseudo-randomly generated md5 hash value, 32 digits long.
ReturnValue
Name | Description |
---|---|
String
|
sha1
fun sha1(): String
Generates and returns a pseudo-randomly generated sha-1 hash value, 40 digits long.
ReturnValue
Name | Description |
---|---|
String
|
sha224
fun sha224(): String
Generates and returns a pseudo-randomly generated sha-224 hash value, 56 digits long.
ReturnValue
Name | Description |
---|---|
String
|
sha256
fun sha256(): String
Generates and returns a pseudo-randomly generated sha-256 hash value, 64 digits long.
ReturnValue
Name | Description |
---|---|
String
|
sha384
fun sha384(): String
Generates and returns a pseudo-randomly generated sha-384 hash value, 96 digits long.
ReturnValue
Name | Description |
---|---|
String
|
sha512
fun sha512(): String
Generates and returns a pseudo-randomly generated sha-512 hash value, 128 digits long.
ReturnValue
Name | Description |
---|---|
String
|
Provides functions for generating random hash sum strings.