Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "mcrypt", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "MCrypt bindings", | ||
@@ -5,0 +5,0 @@ "keywords": ["mcrypt", "crypto"], |
@@ -161,2 +161,11 @@ # node-mcrypt | ||
#### validateIvSize(Boolean) | ||
`validateIvSize()` is a function to disable or enable iv size validation on `open()` | ||
```javascript | ||
var mc = new MCrypt('rijndael-256', 'cbc'); | ||
mc.validateIvSize(false); // disable iv size checking | ||
mc.open('$verysec$retkey$', 'foobar'); | ||
``` | ||
#### selfTest() : Boolean | ||
@@ -163,0 +172,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36654
271
8