byte[] encrypted; try { encrypted = PasswordBasedEncryption.encrypt(algo, new String(password).getBytes(), masterPassword, iterationCount, salt); } catch (GeneralSecurityException ex) {
byte[] encrypted; try { encrypted = PasswordBasedEncryption.encrypt(algo, new String(password).getBytes(), masterPassword, iterationCount, salt); } catch (GeneralSecurityException ex) {