Encoding Functions with Constant Online Rate or How to Compress Keys in Garbled Circuits