Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

stupid test and a package.json

  • Loading branch information...
commit eac6820c43143489e4093a9bf1a2cdd41e1ec696 1 parent 61c67b3
James Halliday authored February 28, 2011

Showing 2 changed files with 34 additions and 0 deletions. Show diff stats Hide diff stats

  1. 25  package.json
  2. 9  test/keys.js
25  package.json
... ...
@@ -0,0 +1,25 @@
  1
+{
  2
+    "name" : "keyx",
  3
+    "description" : "Algorithms and file formats for public key cryptography key exchange",
  4
+    "version" : "0.0.1",
  5
+    "repository" : {
  6
+        "type" : "git",
  7
+        "url" : "git://github.com/substack/node-keyx.git"
  8
+    },
  9
+    "main" : "./index.js",
  10
+    "directories" : {
  11
+        "lib" : ".",
  12
+        "test" : "./test"
  13
+    },
  14
+    "scripts" : {
  15
+        "test" : "expresso"
  16
+    },
  17
+    "author" : {
  18
+        "name" : "James Halliday",
  19
+        "email" : "mail@substack.net",
  20
+        "url" : "http://substack.net"
  21
+    },
  22
+    "engines" : {
  23
+        "node" : ">=0.4.0"
  24
+    }
  25
+}
9  test/keys.js
... ...
@@ -0,0 +1,9 @@
  1
+var assert = require('assert');
  2
+var Key = require('keyx/key');
  3
+
  4
+exports.create = function () {
  5
+    assert.eql(
  6
+        new Key('test', 'dss').data,
  7
+        new Buffer('test', 'base64')
  8
+    );
  9
+};

0 notes on commit eac6820

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