Create RoboHashes with C# and .NET
RoboHashes are great a way to visualize something that is hard to distinguish by humans like user ids, thumbprints, public keys. This implementation generates for any input the same RoboHash as the original implementation.
The problem I had with them is that they are generated using phython but my complete environment is based on C# and ASP.NET. I wanted to create them using C# code and also be able to integrate them in intranet-only applications. That is the reason why I ported the original phython code provided by Colin Davis to C#.
For the input test this library generates the following RoboHash
which is the same as the RoboHash generated by Robohash.org (keeping fingers crossed):
If you think that one robot on a image is to lonely, you can give him some backup and generate an armada of robots:
and they also come with backgrounds:
The RoboHash images are copied from the original robohash repository and are available under the CC-BY-3.0 license.
- Set 1 artwork created by Zikri Kader
- Set 2 artwork created by Hrvoje Novakovic.
- Set 3 artwork created by Julian Peter Arias.
- integrate this code in an ASP.NET web service that behaves the same as RoboHash.org
- build a nuget package