erichocean/cocoa-websocket — comment on commit 4270285f5c95e6265543ec401e34150ed4d3d525
File: WebSocket.m line 106
By rsattar:

Just a heads up, I know you've started reverting this, but I found the main problem with the _makeKey function was that converting prod using %ld was often causing issues, but using %lu fixed it for me (this might have been older code where prod was declared as uint32_t)