fix #4 provider digest algorithm