The sad journey of using js to encrypt and decrypt tripledes

After two days of tossing and changing several js frameworks, I finally got a result. Come on. The code will be presented in the follow-up, and detailed explanations will be given. After two days of tossing, I have learned a lot, and it is time to write a summary. (bytes, bits, key grouping, encryption principles, base64, Hex, etc.). Everything is difficult at the beginning, thank you for not giving up, perseverance and hard work, and finally see the light of day.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326699699&siteId=291194637