Permalink
Browse files

stupid test and a package.json

  • Loading branch information...
1 parent 61c67b3 commit eac6820c43143489e4093a9bf1a2cdd41e1ec696 @substack committed Feb 28, 2011
Showing with 34 additions and 0 deletions.
  1. +25 −0 package.json
  2. +9 −0 test/keys.js
View
@@ -0,0 +1,25 @@
+{
+ "name" : "keyx",
+ "description" : "Algorithms and file formats for public key cryptography key exchange",
+ "version" : "0.0.1",
+ "repository" : {
+ "type" : "git",
+ "url" : "git://github.com/substack/node-keyx.git"
+ },
+ "main" : "./index.js",
+ "directories" : {
+ "lib" : ".",
+ "test" : "./test"
+ },
+ "scripts" : {
+ "test" : "expresso"
+ },
+ "author" : {
+ "name" : "James Halliday",
+ "email" : "mail@substack.net",
+ "url" : "http://substack.net"
+ },
+ "engines" : {
+ "node" : ">=0.4.0"
+ }
+}
View
@@ -0,0 +1,9 @@
+var assert = require('assert');
+var Key = require('keyx/key');
+
+exports.create = function () {
+ assert.eql(
+ new Key('test', 'dss').data,
+ new Buffer('test', 'base64')
+ );
+};

0 comments on commit eac6820

Please sign in to comment.