Class DefaultDataDesensitization

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String decrypt​(java.lang.String encryptInfo)
      To decrypt the contents of the database Note: The decrypted information is for playback and only circulates inside arex if the information is not decrypted, it will cause the error of the replay
      java.lang.String encrypt​(java.lang.String info)
      To encrypt the contents of the database Note: The encryption method must be reversible encryption for playback
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDataDesensitization

        public DefaultDataDesensitization()
    • Method Detail

      • encrypt

        public java.lang.String encrypt​(java.lang.String info)
                                 throws java.lang.Exception
        Description copied from interface: DataDesensitization
        To encrypt the contents of the database Note: The encryption method must be reversible encryption for playback
        Specified by:
        encrypt in interface DataDesensitization
        Parameters:
        info - the contents of the database
        Returns:
        the encrypted contents
        Throws:
        java.lang.Exception
      • decrypt

        public java.lang.String decrypt​(java.lang.String encryptInfo)
                                 throws java.lang.Exception
        Description copied from interface: DataDesensitization
        To decrypt the contents of the database Note: The decrypted information is for playback and only circulates inside arex if the information is not decrypted, it will cause the error of the replay
        Specified by:
        decrypt in interface DataDesensitization
        Parameters:
        encryptInfo - the encrypted contents
        Returns:
        the decrypted contents
        Throws:
        java.lang.Exception