failing test for #7288 - getting wrong sha1 from `crypto`