这是一个创建于 2903 天前的主题,其中的信息可能已经有所发展或是发生改变。
比如在代码中这样写
let key = "abcdfjsdsjfisdfjlsdifjis"
这样是不是很容易被反编译出来?
大家是如何防泄漏的
2 条回复 • 2017-03-14 17:09:35 +08:00
 |
|
1
aliuwr 2017-03-14 16:37:36 +08:00
设计架构时,总是假定这个 Key 已经被泄露。
|
 |
|
2
sunhr 2017-03-14 17:09:35 +08:00
当时 XcodeGhost 的 Key 是取“ stringWithFormat ”这个串的前八个字符,然并卵
所以还是不要把危险的 Key 写在包里
|