[Pkg-javascript-commits] [node-ripemd160] 34/71: test/fixtures: created (added from http://homes.esat.kuleuven.be/~bosselae/ripemd160.html)

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:25:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-ripemd160.

commit 7817c64cc06d70281a20bf4ef46ca0a0a4d91a2c
Author: JP Richardson <jprichardson at gmail.com>
Date:   Wed Jan 14 06:26:39 2015 -0600

    test/fixtures: created (added from http://homes.esat.kuleuven.be/~bosselae/ripemd160.html)
---
 test/fixtures.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/test/fixtures.json b/test/fixtures.json
new file mode 100644
index 0000000..2bf7558
--- /dev/null
+++ b/test/fixtures.json
@@ -0,0 +1,49 @@
+{
+  "valid": [
+    {
+      "data": "hello",
+      "encoding": "utf8",
+      "result": "108f07b8382412612c048d07d13f814118445acd"
+    },
+    {
+      "data": "",
+      "encoding": "utf8",
+      "result": "9c1185a5c5e9fc54612808977ee8f548b2258d31"
+    },
+    {
+      "data": "a",
+      "encoding": "utf8",
+      "result": "0bdc9d2d256b3ee9daae347be6f4dc835a467ffe"
+    },
+    {
+      "data": "abc",
+      "encoding": "utf8",
+      "result": "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"
+    },
+    {
+      "data": "message digest",
+      "encoding": "utf8",
+      "result": "5d0689ef49d2fae572b881b123a85ffa21595f36"
+    },
+    {
+      "data": "abcdefghijklmnopqrstuvwxyz",
+      "encoding": "utf8",
+      "result": "f71c27109c692c1b56bbdceb5b9d2865b3708dbc"
+    },
+    {
+      "data": "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
+      "encoding": "utf8",
+      "result": "12a053384a9c0c88e405a06c27dcf49ada62eb2b"
+    },
+    {
+      "data": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
+      "encoding": "utf8",
+      "result": "b0e20b6e3116640286ed3a87a5713079b21f5189"
+    },
+    {
+      "data": "12345678901234567890123456789012345678901234567890123456789012345678901234567890",
+      "encoding": "utf8",
+      "result": "9b752e45573d4b39f4dbd3323cab82bf63326bfb"
+    }
+  ]
+}
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ripemd160.git



More information about the Pkg-javascript-commits mailing list