Use TextUitls.isEmpty() in the digest method

I know this is not a big change but I was just getting my repo working and thought to push something simple to make sure it worked.