# 关于异或加密的问题

**URL:** <https://live2dhub.com/t/topic/3177>\
**Category:** 讨论\
**Created:** [2024 年5 月 4 日 09:27 UTC](https://live2dhub.com/t/topic/3177 "2024-05-04T09:27:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

作者： ![fateli](https://live2dhub.com/letter_avatar_proxy/v4/letter/f/b9e5f3/32.png) [@fateli](https://live2dhub.com/u/fateli)\
发布日期： [2024 年5 月 4 日 09:27 UTC](https://live2dhub.com/t/topic/3177/1 "2024-05-04T09:27:06Z")

</div>

来这里逛了一段时间了，看了很多关于unity游戏解包的帖子，我发现异或加密好像还挺常见的，因此想问问如何判断资源包是用了异或加密，以及如何获取异或解密的key(密钥)字节，是否存在一个较为通用的方法，而不是针对某个具体游戏。

---

<div class="post-metadata">

作者： ![jdyy](https://live2dhub.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jdyy](https://live2dhub.com/u/jdyy)\
发布日期： [2024 年5 月 6 日 03:14 UTC](https://live2dhub.com/t/topic/3177/2 "2024-05-06T03:14:38Z")

</div>

有，靠积累的经验猜测  
但是，基本上没用

---

<div class="post-metadata">

作者： ![HelloWorld](https://live2dhub.com/user_avatar/live2dhub.com/helloworld/32/4344_2.png) [@HelloWorld](https://live2dhub.com/u/HelloWorld)\
发布日期： [2024 年10 月 29 日 02:46 UTC](https://live2dhub.com/t/topic/3177/3 "2024-10-29T02:46:57Z")

</div>

同问，有相关教程吗

---

<div class="post-metadata">

作者： ![nihoto](https://live2dhub.com/letter_avatar_proxy/v4/letter/n/9de053/32.png) [@nihoto](https://live2dhub.com/u/nihoto)\
发布日期： [2024 年10 月 29 日 14:40 UTC](https://live2dhub.com/t/topic/3177/4 "2024-10-29T14:40:14Z")

</div>

給個網址:

> **[Online XOR Encrypt and Decrypt](https://md5decrypt.net/en/Xor/)**
>
> Use our online tool to encrypt or decrypt XOR encryption, binary, hexadecimal or text.

方便大家做xor方面的測試。  
但大多還是得靠經驗，沒其他途徑。
