Interface SensitiveDataCodec<T>

  • All Known Implementing Classes:
    DefaultSensitiveStringCodec

    public interface SensitiveDataCodec<T>
    A SensitiveDataCodec This interface is used for implementing a value decoder. It takes in a mask value and decode it.
    • Method Detail

      • decode

        T decode​(java.lang.Object mask)
          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • encode

        T encode​(java.lang.Object secret)
          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • init

        default void init​(java.util.Map<java.lang.String,​java.lang.String> params)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception