Just wondering is anyone can explain this code to me:
Base64.encode64(@key.send("#{key_type}_encrypt", text))
I have this code the encrypts some information. This part seems to work
fine. I using some software on the back end that I have written in VB to
decrypt it and it seems to have issues. So I just wanted to make sure
that the code i have written in Ruby does what I think it does, and that
is that it encrypts the data and then encodes it to base 64? But I’m not
sure if it does this for both the data and the keys? Thanks,
-S