class EncryptorService {

	public void configure(String masterPassword) {
		checkMasterPassword(masterPassword);
		synchronized (configurationLock) {
			checkState(!isConfigured(), "Cannot configure encryption settings more than once");

			setMasterPassword(masterPassword);
		}
	}

	@Inject public  EncryptorService(SettingsService settingsService, EncryptorProviderService encryptorProviderService,
			EncryptorListener encryptorListener);

}