pbkdf2_hmac_sha1 with empty salt to set aes key
I am encrypting several text in aes-256-cbc. I am generating the key using pbkdf2_hmac_sha1 using an empty salt. So the key does not vary between encryptions, although the iv is set to random_iv each time.

I am doing this for a library, basically here is my most recent push:

https://github.com/danpal/encryptor/commit/820da4c00f4caa4d448750bc7afea4c3b43af53b

as you can see the salt is empty but I do over 1000 rounds, and I also always set a random :iv
(options[:iv] comes from cipher.random_iv)

pbkdf2_hmac_sha1 with empty salt to set aes key
===

I am encrypting several text in aes-256-cbc. I am generating the key using pbkdf2_hmac_sha1 using an empty salt. So the key does not vary between encryptions, although the iv is set to random_iv each time.

I am doing this for a library, basically here is my most recent push:

https://github.com/danpal/encryptor/commit/820da4c00f4caa4d448750bc7afea4c3b43af53b

as you can see the salt is empty but I do over 1000 rounds, and I also always set a random :iv
(options[:iv] comes from cipher.random_iv)
