[tor-relays] Key files encryption methods.