Skip to content
Browse files

renamed

  • Loading branch information...
1 parent 1423128 commit d58fcf41017aaab5fd3ff1a5b46e7fccad0cd8a2 @bengl committed Mar 19, 2012
Showing with 12 additions and 13 deletions.
  1. +3 −3 Readme.md
  2. +4 −5 colorhash.js → hashcolors.js
  3. +1 −1 md5color
  4. +2 −2 package.json
  5. +1 −1 sha1color
  6. +1 −1 sha256color
View
6 Readme.md
@@ -1,7 +1,7 @@
-colorhash
-=========
+hashcolors
+==========
-**colorhash** introduces some commands corresponding to some hashing algorithms. These commands are:
+**hashcolors** introduces some commands corresponding to some hashing algorithms. These commands are:
* <code>md5hash</code>
* <code>sha1hash</code>
View
9 colorhash.js → hashcolors.js
@@ -8,11 +8,10 @@ var printColors = module.exports.printColors = function(stream,hashed){
module.exports.printColorsTerm = function(input,alg){
var parse = function(err, data){
- require('./colorhash.js')
- .printColors(
- process.stdout,
- require('cryptojs').Crypto[alg](err ? input : data)
- );
+ printColors(
+ process.stdout,
+ require('cryptojs').Crypto[alg](err ? input : data)
+ );
};
require('fs').readFile(input,parse);
View
2 md5color
@@ -1,3 +1,3 @@
#!/usr/bin/env node
// vim: ft=javascript
-require('./colorhash.js').printColorsTerm(process.argv[process.argv.length-1],'MD5');
+require('./hashcolors.js').printColorsTerm(process.argv[process.argv.length-1],'MD5');
View
4 package.json
@@ -1,14 +1,14 @@
{
"author": "Bryan English <bryan@bryanenglish.com>",
- "name": "colorhash",
+ "name": "hashcolors",
"description": "A visualization of hashes usig ANSI colors.",
"version": "0.0.1",
"homepage": "http://github.com/bengl/colorhash",
"repository": {
"type": "git",
"url": "git://github.com/bengl/colorhash.git"
},
- "main": "colorhash",
+ "main": "hashcolors",
"bin": {
"md5color": "./md5color",
"sha1color": "./sha1color",
View
2 sha1color
@@ -1,3 +1,3 @@
#!/usr/bin/env node
// vim: ft=javascript
-require('./colorhash.js').printColorsTerm(process.argv[process.argv.length-1],'SHA1');
+require('./hashcolors.js').printColorsTerm(process.argv[process.argv.length-1],'SHA1');
View
2 sha256color
@@ -1,3 +1,3 @@
#!/usr/bin/env node
// vim: ft=javascript
-require('./colorhash.js').printColorsTerm(process.argv[process.argv.length-1],'SHA256');
+require('./hashcolors.js').printColorsTerm(process.argv[process.argv.length-1],'SHA256');

0 comments on commit d58fcf4

Please sign in to comment.
Something went wrong with that request. Please try again.