- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Oxor (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
keyIndex %= keyLength // Reassign to prevent overflow breaking counter. // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them // and convert back to byte. val bufferInt: Int = buffer[i].toInt() val keyInt: Int = key[keyIndex].toInt() buffer[i] = (bufferInt xor keyInt).toByte() i++ keyIndex++ } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.8K bytes - Viewed (0)