code: private static void checkAndTryToLoadEncryptionKey() {
  
  		if (secretKeyHash == null) {
  
  			// try to load from setting
  			final String valueFromSetting = Settings.GlobalSecret.getValue();
  			if (StringUtils.isNotBlank(valueFromSetting)) {
  
  				logger.info("Secret key for encryption read from structr.conf.");
  				CryptFunction.setEncryptionKey(valueFromSetting);
  			}
  		}
  	}
docs: ----- private methods -----