Running a slow hash operation that should take a non-negligible amount of CPU on your single core per process database server isn’t a great idea.
That’s not a rag on stored procedures more generally. Just that specific use case scales poorly to a large number of operations as its inherently cpu bound.