While making the change to dataFromHexString it became clear that this method wasn't actually needed. It's there in order to take a hexadecimal string encoding of a hash and re-encode it to a base64, but simply skipping the production of the hex from the data in the first place makes the method unnecessary.
coverage: 88.488% (-0.08%) from 88.569% when pulling df2f38ab5673b2bc585023471eccde7d2cbf3e7c on jl/hash-fix into f46c3c018f1577fb1628e53c4c0720bd005e6e75 on main.
Goals :soccer:
Remove use of deprecated
scanHexInt32
.Implementation Details :construction:
While making the change to
dataFromHexString
it became clear that this method wasn't actually needed. It's there in order to take a hexadecimal string encoding of a hash and re-encode it to a base64, but simply skipping the production of the hex from the data in the first place makes the method unnecessary.Testing Details :mag:
Tested
sha1()
method manually.