MattSurabian / aes-gcm-stream

A NodeJS Module that implements AES256 GCM encryption and decryption using streams
MIT License
11 stars 1 forks source link

bit of cleanup #3

Closed calvinmetcalf closed 9 years ago

calvinmetcalf commented 9 years ago

the stream callback is always defined so you don't need to redefine it, also you don't need to stringify the key and salt before you pass it to pbkdf2 as it will just be turned back into a buffer.

MattSurabian commented 9 years ago

:+1: Looks good please squash and I'll merge!

calvinmetcalf commented 9 years ago

done