jeroen / openssl

OpenSSL bindings for R
Other
65 stars 23 forks source link

Salting doesn't work with vectors #10

Closed Ironholds closed 9 years ago

Ironholds commented 9 years ago

md5(c("foo","bar")) [1] "acbd18db4cc2f85cedef654fccc4a4d8" "37b51d194a7513e45b56f6524f2d51f2" md5(c("foo","bar"),"baz") [1] "73feffa4b7f6bb68e44cf984c85f6e88"

jeroen commented 9 years ago

Fixed @ https://github.com/jeroenooms/openssl/commit/53174f8dedc3c0221b37d86628b7183554231b79. Can you verify?

Ironholds commented 9 years ago

Verified! Works great :)

jeroen commented 9 years ago

not sure how i missed that

Ironholds commented 9 years ago

I'll add a to-do for me to write a unit test covering it, just in case there are future regressions of some kind.