java.lang.Object
io.github.tonywasher.joceanus.prometheus.preference.PrometheusPreferenceSecurity

public class PrometheusPreferenceSecurity extends Object
Security for Preferences.
  • Constructor Details

  • Method Details

    • encryptValue

      protected byte[] encryptValue(char[] pValue) throws OceanusException
      Encrypt the value.
      Parameters:
      pValue - the value to encrypt
      Returns:
      the encrypted value
      Throws:
      OceanusException - on error
    • decryptValue

      protected char[] decryptValue(byte[] pValue) throws OceanusException
      Decrypt the value.
      Parameters:
      pValue - the value to decrypt
      Returns:
      the decrypted value
      Throws:
      OceanusException - on error