Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "cryptian", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Crypto suite", | ||
@@ -24,4 +24,4 @@ "main": "lib/index-back.js", | ||
"dependencies": { | ||
"bindings": "^1.3.0", | ||
"nan": "^2.14.0" | ||
"bindings": "^1.5.0", | ||
"nan": "^2.17.0" | ||
}, | ||
@@ -33,3 +33,3 @@ "devDependencies": { | ||
"@babel/register": "^7.0.0", | ||
"mocha": "^5.1.1", | ||
"mocha": "^10.2.0", | ||
"stream-buffers": "^3.0.2" | ||
@@ -36,0 +36,0 @@ }, |
@@ -0,5 +1,3 @@ | ||
# cryptian [![Build & Test](https://github.com/tugrul/cryptian/actions/workflows/build-test.yml)](https://github.com/tugrul/cryptian/actions/workflows/build-test.yml/badge.svg) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftugrul%2Fcryptian.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftugrul%2Fcryptian?ref=badge_shield) | ||
# cryptian [![Build Status](https://travis-ci.org/tugrul/cryptian.svg)](https://travis-ci.org/tugrul/cryptian) | ||
MCrypt compatible crypto wrapper for Node.js | ||
@@ -93,3 +91,3 @@ | ||
set.setKey(Buffer.from('0a0c0e1012141618', 'hex')); | ||
des.setKey(Buffer.from('0a0c0e1012141618', 'hex')); | ||
@@ -186,1 +184,5 @@ const ciphertext = Buffer.from('a1502d70ba1320c8', 'hex'); | ||
## License | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftugrul%2Fcryptian.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftugrul%2Fcryptian?ref=badge_large) |
@@ -14,3 +14,6 @@ | ||
(typeof algorithm.Des === 'function' ? describe : describe.skip) | ||
const version = /^(\d+)\./.exec(process.versions.openssl); | ||
const opensslDesSupportAvailable = parseInt(version[1]) < 3; | ||
(typeof algorithm.Des === 'function' && opensslDesSupportAvailable ? describe : describe.skip) | ||
('des with openssl des compat', () => { | ||
@@ -17,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
660909
9205
187
Updatedbindings@^1.5.0
Updatednan@^2.17.0