what types of compression n encyprtion is more suitable use when transfering file(using Java)