Class org.syncany.crypto.CipherUtilTest

16

tests

0

failures

0

ignored

3.152s

duration

100%

successful

Tests

Test Duration Result
testCreateDerivedKeys 0.002s passed
testCreateRandomArray 0.002s passed
testEncryptLongArrayAes128Gcm 0.305s passed
testEncryptLongArrayAes128Twofish128 1.063s passed
testEncryptLongArrayAes258Twofish256UnlimitedStrength 0.516s passed
testEncryptShortArrayAes128Gcm 0.007s passed
testEncryptShortArrayAes128Twofish128 0.012s passed
testIntegrityAesGcmCiphertext 0.008s passed
testIntegrityHeaderCipherIV 0.007s passed
testIntegrityHeaderCipherSalt 0.007s passed
testIntegrityHeaderCipherSpecId 0.002s passed
testIntegrityHeaderMagic 0.016s passed
testIntegrityHeaderVersion 0.003s passed
testIntegrityTwofishGcmCiphertext 1.170s passed
testIsEncryptedFileFalse 0.032s passed
testIsEncryptedFileTrue 0s passed

Standard error

20-1-21 13:05:46.411 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 9840830b2c302c2ffd7db9a7
20-1-21 13:05:46.518 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt 44a20aa1e245fe5ab81aa267
20-1-21 13:05:46.611 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 9840830b2c302c2ffd7db9a7
20-1-21 13:05:46.615 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt 44a20aa1e245fe5ab81aa267
20-1-21 13:05:46.630 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 9dc460f375b015da7c10fe4a
20-1-21 13:05:46.632 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt b78a3898b279a578d04e85fb
20-1-21 13:05:46.681 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt ec57d935ded814d6ac7a8bef
20-1-21 13:05:46.692 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt c7931bbf42d86884b8c534f3
20-1-21 13:05:46.695 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt 1aeeb2d18f836db604de32bf
20-1-21 13:05:47.282 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt ec57d935ded814d6ac7a8bef
20-1-21 13:05:47.285 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt c7931bbf42d86884b8c534f3
20-1-21 13:05:47.287 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt 1aeeb2d18f836db604de32bf
20-1-21 13:05:47.733 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 6795a4cfec8227193c49b686
20-1-21 13:05:47.738 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 76ad326f89dc7fa4e0d0c0da
20-1-21 13:05:47.739 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt c6a7399c7b0e3d51eb454293
20-1-21 13:05:47.981 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 6795a4cfec8227193c49b686
20-1-21 13:05:47.982 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 76ad326f89dc7fa4e0d0c0da
20-1-21 13:05:47.997 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt c6a7399c7b0e3d51eb454293
20-1-21 13:05:48.260 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt bada15e9a9dd8801a2c9e7a2
20-1-21 13:05:48.262 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 161fab9ee04b189d2331b9fc
20-1-21 13:05:48.262 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt bada15e9a9dd8801a2c9e7a2
20-1-21 13:05:48.266 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 161fab9ee04b189d2331b9fc
20-1-21 13:05:48.268 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 90df78a39d0ee7661f2b5039
20-1-21 13:05:48.270 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt a0060003cecc50a02cecf10a
20-1-21 13:05:48.272 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 849f2d0972154126a873ed58
20-1-21 13:05:48.274 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt fd5688068a26ca12f336dd1a
20-1-21 13:05:48.275 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 849f2d0972154126a873ed58
20-1-21 13:05:48.276 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt fd5688068a26ca12f336dd1a
20-1-21 13:05:48.280 | CipherUtilTest  | Test worker    | INFO : - Derived key 1: 2ba3cc5c1d1ecaeb550a820ac975bf5a
20-1-21 13:05:48.281 | CipherUtilTest  | Test worker    | INFO :       with salt: 010203
20-1-21 13:05:48.281 | CipherUtilTest  | Test worker    | INFO : - Derived key 2: 1026e4798af0fe57149fafc3ed3b71a5
20-1-21 13:05:48.281 | CipherUtilTest  | Test worker    | INFO :       with salt: 01020304
20-1-21 13:05:48.283 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 6b65af64300089fec835f2b9
20-1-21 13:05:48.288 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 8c3ac1c86f566e1791f1566e
20-1-21 13:05:48.289 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 6b65af64300089fec835f2b9
20-1-21 13:05:48.290 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt ffffffc86f566e1791f1566e
20-1-21 13:05:48.291 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 3d5bf8b3384335176eb1bea9
20-1-21 13:05:48.291 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt bbfa17617d87dc2d47009df3
20-1-21 13:05:48.292 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 3d5bf8b3384335176eb1bea9
20-1-21 13:05:48.297 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt bbfa17617d87dc2d47009df3
20-1-21 13:05:48.298 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 3c8c57eb14f954aa90707528
20-1-21 13:05:48.299 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt fbd2d72b882f4c4a146efed2
20-1-21 13:05:48.300 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 3c8c57eb14f954aa90707528
20-1-21 13:05:48.304 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 312aff6ae3b09cdbb102eed8
20-1-21 13:05:48.305 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 5bf008dcf55c0723c1967cea
20-1-21 13:05:48.306 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt 942d079a148e2088e0808575
20-1-21 13:05:48.307 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 312aff6ae3b09cdbb102eed8
20-1-21 13:05:48.313 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 5bf008dcf55c0723c1967cea
20-1-21 13:05:48.313 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt 942d079a148e2088e0808575
20-1-21 13:05:48.330 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt e560a3319338239e871788a4
20-1-21 13:05:48.331 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 435512c4405951fe658fcf2e
20-1-21 13:05:48.514 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt e560a3319338239e871788a4
20-1-21 13:05:48.531 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 435512c4405951fe658fcf2e