     var key = this.stringToHex(this.set.passphrase);
                        if(key.length != 32){layer.msg('SM4加密密钥必须是16个字符', {icon:0, time:1500});return;}
                        this.set.output = sm4.encrypt(this.set.input, key);
                        return;
                    }else if(this.encrypt_type == 'SM4-CBC'){
                        if(this.set.iv == '') return;
                        var key = this.stringToHex(this.set.passphrase);
                        var iv