sha256 works correctly