Re:HFT in my backyard – II
by perlgeek on Friday September 26, 2014 @10:51AM
(#8372915)
I would be pretty simple. You use a high-latency channel with "proper" encryption and authentication to stream a one-time pad key; then encryption and decryption would be a simple XOR, plus a bit of synchronization (to know where in the key stream you are). Doesn't sound like it would introduce much latency.
[ Parent
| on HN ]
Re:HFT in my backyard – II
by scott_karana on Friday September 26, 2014 @01:30PM
(#8373743)
One-time pads are only useful if they're not re-used.
Or are you suggesting that the high-latency link is higher throughput, and provides constant gigabytes of pad material? (Eg, stream cipher)
A microwave link is much lower bandwidth than the optical fiber that already exists to connect the two points (you can't rely solely on microwave, you need fiber to back it up when it rains or is cloudy, etc.).
Also, depending on the market, you're only trading 8 or so hours a day. You can just send the pad during the 16 hours of the day while the link is otherwise unused.
There is already a second fibre link in these setups that has higher throughput and not much more latency.
Re:HFT in my backyard – II
by mindslight on Friday September 26, 2014 @11:52AM
(#8373218)
That method is missing any sort of message authentication. Knowing the framing, one could easily flip a buy to a sell, etc.
I don't think the one-time pad is necessary here, since the aspect that makes it low-latency is reducing the critical path impact to an XOR at each end. I believe there are various existing encryption schemes which already have this property.