Class org.syncany.tests.unit.crypto.CipherUtilTest

16

tests

0

failures

0

ignored

0.631s

duration

100%

successful

Tests

Test Duration Result
testCreateDerivedKeys 0.001s passed
testCreateRandomArray 0s passed
testEncryptLongArrayAes128Gcm 0.242s passed
testEncryptLongArrayAes128Twofish128 0.183s passed
testEncryptLongArrayAes258Twofish256UnlimitedStrength 0.133s passed
testEncryptShortArrayAes128Gcm 0.002s passed
testEncryptShortArrayAes128Twofish128 0.010s passed
testIntegrityAesGcmCiphertext 0.043s passed
testIntegrityHeaderCipherIV 0.002s passed
testIntegrityHeaderCipherSalt 0.002s passed
testIntegrityHeaderCipherSpecId 0.001s passed
testIntegrityHeaderMagic 0.002s passed
testIntegrityHeaderVersion 0.001s passed
testIntegrityTwofishGcmCiphertext 0.008s passed
testIsEncryptedFileFalse 0.001s passed
testIsEncryptedFileTrue 0s passed

Standard error

27-4-17 11:03:28.660 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 4aa5b4deb78641518d12b2f0
27-4-17 11:03:28.664 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt dbc2f183ca0fb5f152875a9e
27-4-17 11:03:28.698 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 4aa5b4deb78641518d12b2f0
27-4-17 11:03:28.699 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt dbc2f183ca0fb5f152875a9e
27-4-17 11:03:28.702 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 7b9d8c6e586122ca29e542e5
27-4-17 11:03:28.702 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt 13a6d198b5d0de83154e2383
27-4-17 11:03:28.709 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 7b9d8c6e586122ca29e542e5
27-4-17 11:03:28.709 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt 13a6d198b5d0de83154e2383
27-4-17 11:03:28.711 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt d836d5f3fed65ef968af14af
27-4-17 11:03:28.711 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 7734d602840eb720ed148d85
27-4-17 11:03:28.712 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 00d64a875865b033e426f3c3
27-4-17 11:03:28.712 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 212680422be842d895c52e9a
27-4-17 11:03:28.713 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 795a269d3f72f340f1153ffa
27-4-17 11:03:28.714 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 9db8c1f467f423b21428ce29
27-4-17 11:03:28.714 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 795a269d3f72f340f1153ffa
27-4-17 11:03:28.715 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 6ee82f15dcca0fb651285f3f
27-4-17 11:03:28.715 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 5888a421eb30581ce925511b
27-4-17 11:03:28.715 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 6ee82f15dcca0fb651285f3f
27-4-17 11:03:28.716 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt ffffff21eb30581ce925511b
27-4-17 11:03:28.716 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 5fc94c9b53165c0cd54a1120
27-4-17 11:03:28.717 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 32ffe2fae85327328dedaf1e
27-4-17 11:03:28.717 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 5fc94c9b53165c0cd54a1120
27-4-17 11:03:28.718 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 32ffe2fae85327328dedaf1e
27-4-17 11:03:28.719 | CipherUtilTest  | Test worker    | INFO : - Derived key 1: 2ba3cc5c1d1ecaeb550a820ac975bf5a
27-4-17 11:03:28.719 | CipherUtilTest  | Test worker    | INFO :       with salt: 010203
27-4-17 11:03:28.719 | CipherUtilTest  | Test worker    | INFO : - Derived key 2: 1026e4798af0fe57149fafc3ed3b71a5
27-4-17 11:03:28.719 | CipherUtilTest  | Test worker    | INFO :       with salt: 01020304
27-4-17 11:03:28.720 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 160db3eec45018ff2e23689a
27-4-17 11:03:28.721 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt f2dde6f13bcafdabd2ade9d1
27-4-17 11:03:28.721 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 160db3eec45018ff2e23689a
27-4-17 11:03:28.722 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt f2dde6f13bcafdabd2ade9d1
27-4-17 11:03:28.728 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 1dbedfe627c67b2e240b3bef
27-4-17 11:03:28.728 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 7b38e57bc6b7d2639fcc875b
27-4-17 11:03:28.879 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 1dbedfe627c67b2e240b3bef
27-4-17 11:03:28.879 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 7b38e57bc6b7d2639fcc875b
27-4-17 11:03:28.964 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt ab6c8d3d0c37e827494d212e
27-4-17 11:03:28.964 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 9c6444719c0d7a73eb69c3ce
27-4-17 11:03:28.967 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt b9a535b4e3072256adc72841
27-4-17 11:03:28.969 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt ab6c8d3d0c37e827494d212e
27-4-17 11:03:28.969 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 9c6444719c0d7a73eb69c3ce
27-4-17 11:03:28.969 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt b9a535b4e3072256adc72841
27-4-17 11:03:28.983 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt 44f28b52a590d979f10d39f4
27-4-17 11:03:28.983 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt e5caeb210bf109400b41ab86
27-4-17 11:03:28.983 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt b73ee7a02c8819a290929d21
27-4-17 11:03:29.101 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt 44f28b52a590d979f10d39f4
27-4-17 11:03:29.101 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt e5caeb210bf109400b41ab86
27-4-17 11:03:29.101 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt b73ee7a02c8819a290929d21
27-4-17 11:03:29.165 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key HmacSHA256, and added to cache, with salt dfc0264d4f2fbf0f66e57616
27-4-17 11:03:29.166 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key AES, and added to cache, with salt 557c40f0c335bddc8dcefa9f
27-4-17 11:03:29.166 | CipherSession   | Test worker    | FINE : - Created NEW WRITE secret key Twofish, and added to cache, with salt c70755b0562060e89778ddbd
27-4-17 11:03:29.232 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key HmacSHA256, and added to cache, with salt dfc0264d4f2fbf0f66e57616
27-4-17 11:03:29.233 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key AES, and added to cache, with salt 557c40f0c335bddc8dcefa9f
27-4-17 11:03:29.233 | CipherSession   | Test worker    | FINE : - Created NEW READ secret key Twofish, and added to cache, with salt c70755b0562060e89778ddbd