-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17, 18, 19, 20
-
None
-
b13
Look at implementation and figure out what happens if you do:
```
computeHash("SHA-1") = someHash;
computeHash("SHA-256") = ...?
```
The caching method should actually check the algorithms match.
Does not seem to be a problem at this point, since we seem to be only calling that methods with "SHA-256", but this is a landmine ready to fire.
```
computeHash("SHA-1") = someHash;
computeHash("SHA-256") = ...?
```
The caching method should actually check the algorithms match.
Does not seem to be a problem at this point, since we seem to be only calling that methods with "SHA-256", but this is a landmine ready to fire.