1984 let me remove this please vro
1 Like
You might want to look into MemoryStore.
1 Like
This sould help. its just an example
2 Likes
Your code is not a hashing algorithm, it’s a random string generator backed by a cache.
You should consider implementing or borrowing a proper hashing algorithm like SHA256 (or lighter one if needed) which don’t require a cache. These are more secure and well tested than a hand roll from someone inexperienced in cryptography.
5 Likes