derive initial vector by pbkdf2 algorithm 10 iterations of sha256 concode_field_sep String TAG concode_elem_sep int KEY_LENGTH_SHORT concode_elem_sep int ITERATION_COUNT concode_elem_sep String CIPHER_ALGORITHM concode_elem_sep byte[] salt concode_elem_sep String CHAR_SET concode_elem_sep int KEY_LENGTH concode_field_sep byte[] seafileDecrypt concode_elem_sep String toBase64 concode_elem_sep byte[] fromHex concode_elem_sep byte[] deriveKey concode_elem_sep String deriveKey concode_elem_sep byte[] fromBase64 concode_elem_sep Pair<String,String> generateKey concode_elem_sep String sha1 concode_elem_sep void verifyRepoPassword concode_elem_sep byte[] generateMagic concode_elem_sep byte[] encrypt concode_elem_sep byte[] encrypt concode_elem_sep String toHex concode_elem_sep byte[] seafileEncrypt concode_elem_sep byte[] decrypt
byte [ ] function ( @ NonNull byte [ ] arg0 ) { PKCS5S2ParametersGenerator loc0 = new PKCS5S2ParametersGenerator ( new SHA256Digest ( ) ) ; loc0 . init ( arg0 , salt , 10 ) ; return ( ( KeyParameter ) loc0 . generateDerivedMacParameters ( KEY_LENGTH_SHORT * 8 ) ) . getKey ( ) ; }