Class SecretValue

java.lang.Object
io.xpipe.core.util.SecretValue

public class SecretValue extends Object
  • Constructor Details

    • SecretValue

      public SecretValue()
  • Method Details

    • encrypt

      public static SecretValue encrypt(char[] c)
    • encrypt

      public static SecretValue encrypt(String s)
    • withSecretValue

      public void withSecretValue(Consumer<char[]> con)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getEncryptedValue

      public String getEncryptedValue()
    • decryptChars

      public char[] decryptChars()
    • decrypt

      public String decrypt()
    • ofSecret

      public static SecretValue ofSecret(String s)
    • getSecretValue

      public String getSecretValue()