DBMetadata-swing/src/main/java/com/github/abel533/utils/EncrypDES.java
public static String Decryptor(String str) throws Exception {
        byte[] buff = EncrypDES.hexStr2ByteArr(str);
        // 根据密钥，对Cipher对象进行初始化，DECRYPT_MODE表示加密模式
        Cipher c = getCipher();
        c.init(Cipher.DECRYPT_MODE, deskey);
        byte[] cipherByte = c.doFinal(buff);
        return new String(cipherByte);
    }
public static String Decryptor(String str) throws Exception {
        byte[] buff = EncrypDES.hexStr2ByteArr(str);
        // 根据密钥，对Cipher对象进行初始化，DECRYPT_MODE表示加密模式
        Cipher c = getCipher();
        c.init(Cipher.DECRYPT_MODE, deskey);
        byte[] cipherByte = c.doFinal(buff);
        return new String(cipherByte);
    }
public static String Decryptor ( String str ) throws Exception { byte [ ] buff = EncrypDES . hexStr2ByteArr ( str ) ; // 根据密钥，对Cipher对象进行初始化，DECRYPT_MODE表示加密模式 Cipher c = getCipher ( ) ; c . init ( Cipher . DECRYPT_MODE , deskey ) ; byte [ ] cipherByte = c . doFinal ( buff ) ; return new String ( cipherByte ) ; }
解密

@param str
@return
@throws Exception
解密