cipher-base
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -77,3 +77,3 @@ var Transform = require('stream').Transform | ||
CipherBase.prototype._toString = function (value, enc, final) { | ||
CipherBase.prototype._toString = function (value, enc, fin) { | ||
if (!this._decoder) { | ||
@@ -87,3 +87,3 @@ this._decoder = new StringDecoder(enc) | ||
var out = this._decoder.write(value) | ||
if (final) { | ||
if (fin) { | ||
out += this._decoder.end() | ||
@@ -90,0 +90,0 @@ } |
{ | ||
"name": "cipher-base", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "abstract base class for crypto-streams", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6639