怀瑾
怀瑾
设置里的code-runner.executorMap下的"java"改成下面的然后保存就可以了,文件需要是UTF-8. ``` "java": "cd $dir && javac -encoding UTF-8 $fileName && java $fileNameWithoutExt", ```
python同样的改成下面的即可 ``` "python": "cd $dir && set PYTHONIOENCODING=utf8 && python $fileName", ```
In class `des` function `run(self, key, text, action=ENCRYPT, padding=False)` ```python if len(key) < 8: raise "Key Should be 8 bytes long" elif len(key) > 8: key = key[:8] #If key...
in generateKeys(self) `key = self.permut(key, CP_1)` This use table CP_1 to permut 64bits key to 56bits And the CP_1 table is correct(my book has the same table).
> `odin_tt`,`sessionid_ss`,`ttwid`,`passport_csrf_token`,`msToken` odin_tt=xxx;sessionid_ss=xxx;ttwid=xxx;passport_csrf_token=xxx;msToken=xxx; 试了下可以用了
update: [hide translated area when the text is empty](https://github.com/yetone/openai-translator/pull/128/commits/357c455f2cb5e7f61f593be983de5f3f77ff849d) 
Ok, I will check if these two PRs have conflict.
I have implemented a part of the feature based on your PR. Can I have your email so that I can add you as a co-author? @pengx17
All features have been tested and are ready to merging. @yetone
I have resolved the conflict. @yetone During testing, I found another problem which is not related to this PR that the icon reference error on the browser page, which may...