viml: re-add sha256() function

Was removed in #699 but actually doesn't have anything to do with security.