I’ve just released a new AES gem for Ruby, written in C for speed.
This gem leverages some open source AES C code that has been in use
for many years. I created this gem because other AES implementations
didn’t even run, or were buggy, or performed poorly, or all of the
above.
I’ve just released a new AES gem for Ruby, written in C for speed.
This gem leverages some open source AES C code that has been in use
Great. Hopefully what I’ve been looking for.
I’ve been using Encryptor.encrypt(:value => string , :key => key,
:algorithm => ‘aes-128-cbc’) in a module created on my own. Is your gem
faster?
I should add that I don’t fully understand this thing with encryption
and the terminology. Could you explain a bit the key length and 128 bit?
Is it always the length as in your example?
I should add that I don’t fully understand this thing with encryption
and the terminology. Could you explain a bit the key length and 128 bit?
Is it always the length as in your example?
And for saving it in mysql, how do I translate it from binary (?)
“garbage” characters (is that how you explain it) to a string? I use
Base64.b64encode(fast_aes_string) now. Is there a faster way?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.