Use hashlib instead of apt in Tiffany script (Mac OS compatibility)