mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-22 22:36:34 +01:00
Bump size of data for AesCryptTest (#2483)
This commit is contained in:
parent
dc73cb26ff
commit
f2f41bfb58
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class AesCryptTest extends BitcoinSUnitTest {
|
|||
}
|
||||
|
||||
it must "fail to decrypt with the wrong key" in {
|
||||
forAll(NumberGenerator.bytevector.suchThat(_.nonEmpty)) { bytes =>
|
||||
forAll(NumberGenerator.bytevector.suchThat(_.size > 3)) { bytes =>
|
||||
val encrypted = AesCrypt.encrypt(bytes, aesKey)
|
||||
val decryptedE = AesCrypt.decrypt(encrypted, badAesKey)
|
||||
decryptedE match {
|
||||
|
|
Loading…
Add table
Reference in a new issue