We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9e1df commit 1140b43Copy full SHA for 1140b43
cryptography-providers-tests/src/commonMain/kotlin/default/DigestTest.kt
@@ -24,7 +24,7 @@ abstract class DigestTest(provider: CryptographyProvider) : ProviderTest(provide
24
assertEquals(digestSize, hasher.hash(ByteArray(0)).size)
25
repeat(8) { n ->
26
val maxSize = 10.0.pow(n).toInt()
27
- ((1..10).map { CryptographyRandom.nextInt(maxSize) } + maxSize).forEach { size ->
+ ((1..5).map { CryptographyRandom.nextInt(maxSize) } + maxSize).forEach { size ->
28
val data = ByteString(CryptographyRandom.nextBytes(size))
29
30
val digest = hasher.hash(data)
0 commit comments