Class org.syncany.crypto.CipherUtilTest

16

tests

0

failures

0

ignored

3.234s

duration

100%

successful

Tests

Test Duration Result
testCreateDerivedKeys 0.006s passed
testCreateRandomArray 0s passed
testEncryptLongArrayAes128Gcm 0.283s passed
testEncryptLongArrayAes128Twofish128 0.359s passed
testEncryptLongArrayAes258Twofish256UnlimitedStrength 2.482s passed
testEncryptShortArrayAes128Gcm 0.014s passed
testEncryptShortArrayAes128Twofish128 0.017s passed
testIntegrityAesGcmCiphertext 0.010s passed
testIntegrityHeaderCipherIV 0.002s passed
testIntegrityHeaderCipherSalt 0.003s passed
testIntegrityHeaderCipherSpecId 0.011s passed
testIntegrityHeaderMagic 0.002s passed
testIntegrityHeaderVersion 0.001s passed
testIntegrityTwofishGcmCiphertext 0.003s passed
testIsEncryptedFileFalse 0.040s passed
testIsEncryptedFileTrue 0.001s passed

Standard error

18-11-18 14:30:56.485 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 97545852736f3972e1ebeb51
18-11-18 14:30:56.594 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 84b07e97be36df44bfaaa4b5
18-11-18 14:30:56.639 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt f8ff0d0c80e84bed48c4a134
18-11-18 14:30:57.357 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 97545852736f3972e1ebeb51
18-11-18 14:30:57.358 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 84b07e97be36df44bfaaa4b5
18-11-18 14:30:57.361 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt f8ff0d0c80e84bed48c4a134
18-11-18 14:30:58.063 | CipherUtilTest  | Test worker    | INFO : - Derived key 1: 2ba3cc5c1d1ecaeb550a820ac975bf5a
18-11-18 14:30:58.064 | CipherUtilTest  | Test worker    | INFO :       with salt: 010203
18-11-18 14:30:58.065 | CipherUtilTest  | Test worker    | INFO : - Derived key 2: 1026e4798af0fe57149fafc3ed3b71a5
18-11-18 14:30:58.067 | CipherUtilTest  | Test worker    | INFO :       with salt: 01020304
18-11-18 14:30:58.111 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt ab3385b5f4c4d3805b82a1dd
18-11-18 14:30:58.112 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 61ab164d0064ab742a1ecba5
18-11-18 14:30:58.117 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt ab3385b5f4c4d3805b82a1dd
18-11-18 14:30:58.125 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 61ab164d0064ab742a1ecba5
18-11-18 14:30:58.250 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 657833ee9f910171acf1d178
18-11-18 14:30:58.251 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 20c125cf5ccd18e08bc42219
18-11-18 14:30:58.353 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 657833ee9f910171acf1d178
18-11-18 14:30:58.354 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 20c125cf5ccd18e08bc42219
18-11-18 14:30:58.413 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 85497574c33d17c81c4ed3ad
18-11-18 14:30:58.414 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 36c6fe248492e847babe8a2d
18-11-18 14:30:58.415 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt a5b11d2036e63a2a7463dcb7
18-11-18 14:30:58.420 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 85497574c33d17c81c4ed3ad
18-11-18 14:30:58.421 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 36c6fe248492e847babe8a2d
18-11-18 14:30:58.422 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt a5b11d2036e63a2a7463dcb7
18-11-18 14:30:58.435 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt c4a27d13229d78a7ce42f18f
18-11-18 14:30:58.437 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt ed6a16ccb6c22302e430c93f
18-11-18 14:30:58.438 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt 0f9a104b70ac0928ceef743b
18-11-18 14:30:58.661 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt c4a27d13229d78a7ce42f18f
18-11-18 14:30:58.663 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt ed6a16ccb6c22302e430c93f
18-11-18 14:30:58.664 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt 0f9a104b70ac0928ceef743b
18-11-18 14:30:58.796 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 151ef0b1fb9a2560e80404d2
18-11-18 14:30:58.797 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 413c20f8ffc97997ac2957f9
18-11-18 14:30:58.798 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt f0077dbdd51832ed19f43501
18-11-18 14:30:58.798 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt e6e41dfeb34249c23f6b8d25
18-11-18 14:30:58.799 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 192646ab426410d9b42092dc
18-11-18 14:30:58.809 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 26dda1fbde269df577f64b4e
18-11-18 14:30:58.809 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 192646ab426410d9b42092dc
18-11-18 14:30:58.810 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 57c1e4a6c07f8bc3ac8bd89d
18-11-18 14:30:58.811 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 58ddbaa47adbd5f2a9e3b6a1
18-11-18 14:30:58.811 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 57c1e4a6c07f8bc3ac8bd89d
18-11-18 14:30:58.812 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt ffffffa47adbd5f2a9e3b6a1
18-11-18 14:30:58.813 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt fb489625a220b2481ba7952d
18-11-18 14:30:58.813 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 92a60424f4143a2571b3cef1
18-11-18 14:30:58.814 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt fb489625a220b2481ba7952d
18-11-18 14:30:58.814 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 92a60424f4143a2571b3cef1
18-11-18 14:30:58.815 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt a847c824e76c8bd92bbd5940
18-11-18 14:30:58.815 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 9ee6edc66c0e778d937b360c
18-11-18 14:30:58.816 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt a847c824e76c8bd92bbd5940
18-11-18 14:30:58.816 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 9ee6edc66c0e778d937b360c
18-11-18 14:30:58.827 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 4e79608b81bf162870dcc4c4
18-11-18 14:30:58.827 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt 6b8b9cce8681954118cb437b
18-11-18 14:30:58.828 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 4e79608b81bf162870dcc4c4
18-11-18 14:30:58.828 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt 6b8b9cce8681954118cb437b