This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Enable DCI debugging on Gigabyte-BKi5HA-7200 | |
| -------------------------------------------- | |
| The Gigabyte-BKi5HA-7200 (Kabylake i5-7200 processor) can be debugged with only a USB debug cable, a | |
| special cable that crosses only the data signals and has the power signals | |
| removed. You can buy these cables at i.e. https://www.datapro.net/products/usb-3-0-super-speed-a-a-debugging-cable.html | |
| The hurdle you have to overcome before you can access DCI however is that you | |
| need to set some bits in hardware that first enable DCI and also enable the debug port so that DCI can control the cores. | |
| There are lots of guides in howto patch the BIOS but only these two really describes all the steps using only freely accessible tools: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package mobi.bbase.ahome.utils; | |
| import java.io.ByteArrayOutputStream; | |
| import java.util.Random; | |
| /** | |
| * 加密解密QQ消息的工具类. QQ消息的加密算法是一个16次的迭代过程,并且是反馈的,每一个加密单元是8字节,输出也是8字节,密钥是16字节 | |
| * 我们以prePlain表示前一个明文块,plain表示当前明文块,crypt表示当前明文块加密得到的密文块,preCrypt表示前一个密文块 | |
| * f表示加密算法,d表示解密算法 那么从plain得到crypt的过程是: crypt = f(plain ˆ preCrypt) ˆ |