Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.8 KB

README.md

File metadata and controls

52 lines (30 loc) · 1.8 KB

RoboHash.Net

Create RoboHashes with C# and .NET

Overview

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.

Why?

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#.

Examples

For the input test this library generates the following RoboHash

test for C#

which is the same as the RoboHash generated by Robohash.org (keeping fingers crossed):

test for Robohash.org

If you think that one robot on a image is to lonely, you can give him some backup and generate an armada of robots:

armada

and they also come with backgrounds:

armada with background

RoboHash Images

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.

TODO

  • integrate this code in an ASP.NET web service that behaves the same as RoboHash.org
  • build a nuget package

See Also

RoboHash Webpage