From 983dd0784303eed27fe29c36ff2a9777bebc87b6 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 24 Jul 2012 16:50:37 +0300 Subject: rename --- README.md | 11 ++++------- base.css | 5 +++++ base.js | 7 +++---- index.html | 30 ++++++++++++++++-------------- 4 files changed, 28 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 970ff26..9bf99c3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -Hashualize -========== +Polyhash +======== -Hashualize is an aesthetic and helpful way to visualize hash values. Remembering hashed fingerprints is very hard, and having a quick way to visually grasp hased values is of great importance. +Polyhash is an aesthetic and helpful way to visualize hash values. Remembering hashed fingerprints is very hard, and having a quick way to visually grasp hased values is of great importance. Requirements ------------ @@ -13,8 +13,5 @@ Requirements Implementation -------------- -Any arbitrary array of characters is accepted as an input. Input is hashed by the SHA1 hash algorithm, producing a 160-bit hashed value, which will then be processed by the output visualization method. The visualization method operates as follows: +Any arbitrary array of characters is accepted as an input. Input is hashed by the SHA1 hash algorithm, producing a 160-bit hashed value, which will then be processed by the output visualization method, which is a work in progresss. - - - diff --git a/base.css b/base.css index 4343a2d..635eeb4 100644 --- a/base.css +++ b/base.css @@ -2,6 +2,11 @@ body { margin: 30px 25px 40px 25px; } +.big { + font-size: 8em; + line-height: 1.2em; +} + .mat { margin: 20px; } diff --git a/base.js b/base.js index faaf5c7..a1112fa 100644 --- a/base.js +++ b/base.js @@ -7,9 +7,8 @@ gen = function(s, c) { v.push(bt); } - console.log(v); - var W = 50; - var H = 50; + var W = 80; + var H = 80; var r = Raphael('c1', W, H); var hv = v[4] / 256; @@ -41,7 +40,7 @@ randStr = function(n){ $(document).ready(function() { - for (var i=0; i<100; i++) { + for (var i=0; i<10; i++) { gen(randStr(8)); } }); diff --git a/index.html b/index.html index 3ceaad1..d8dea18 100644 --- a/index.html +++ b/index.html @@ -8,21 +8,23 @@ - Hash Visualization + Polyhash -

Hash Visualization

-
- - -
-
-
-
-
-
-
-
-
+
+

Polyhash

+
+ +
+ +

About

+

Polyhash is an easy way to generate aesthetic, easily identifiable, icons for hashed values

+ +

Usage

+
    +
  1. Include the script on the page: <script src="http://github.com/bla/bla">
  2. +
  3. Add the class
  4. +
+
-- cgit v1.3.1