Robert Walker wrote:

> It appears that you are using public/private key encryption which uses 
> much longer keys than symmetric encryption by necessity. Asymmetric 
> encryption is also very slow and more processor intensive than that of 
> symmetric encryption. The key advantage of asymmetric is that it 
> separates the public and private keys to solve the key exchange problem.
> 
> Symmetric encryption has advantage in almost every other way over 
> asymmetric. It's able to use much shorter keys for equal or better 
> quality encryption, it's very much faster and more efficient.
> 
> Take for example SSL, which uses asymmetric (public/private keys) to 
> encrypt only one small bit of data. This small bit is the shared 
> symmetric key that gets exchanged between the client and server. Once 
> both sides have this shared key then all remaining data for the session 
> gets encrypted with a symmetric cypher algorithm.
> 
> That's a long winded way to say, "Do you need the secure key exchange, 
> or will a prearranged shared key work for your case?" If not then 
> switching to a symmetric algorithm will be smaller, faster and way more 
> efficient.

I need a somewhat simple encrypting method of storing data that can be 
decrypted. This was the only thing I could get to work. When I try 
EzCrypto I run into an error "uninitialized constant" or something.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to