initial commit for functions involving compressing/decompressing encrypting/decrypting and calculating SHA's of the tun frames