A small library to enable simple secure network protocols