Answer the question
In order to leave comments, you need to log in
Why does the "salt must be an 8-octet string" error occur?
I did everything according to this manual, except:
encrypted = encrypter.update 'top secret document'
encrypted << encrypter.final
encrypter.pkcs5_keyivgen pass_phrase, salt
salt must be an 8-octet string
N0YIYm3wAJrhwsl3b41PPKOzmatYEbvay0dZDaUSC48D2040uB01tfklFO7SsSrJ
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question