joss
joss copied to clipboard
Improve setting sha, don't break on collision
SecureRandom.hex can create duplicate values, this way you can avoid getting an error in such case.
❤️ thanks for this @acrogenesis. Would you mind writing a small unit test to go along with this?
Sure, on it.