# Advice on Encryption

**URL:** <https://www.ruby-forum.com/t/advice-on-encryption/115908>\
**Category:** Rails\
**Created:** [September 30, 2007, 6:15am UTC](https://www.ruby-forum.com/t/advice-on-encryption/115908 "2007-09-30T06:15:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luzzy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/a698b9/32.png) [@Luzzy](https://www.ruby-forum.com/u/Luzzy)\
**Post date:** [September 30, 2007, 6:15am UTC](https://www.ruby-forum.com/t/advice-on-encryption/115908/1 "2007-09-30T06:15:34Z")

</div>

Hi

I’m looking for a way to do one-way encryptoin on my server.

But also to be able to decrypt data on an external machine.

For security reasons I would never decrypt on the main server or have  
the decryption key or method on there.

Is this type of thing possible?

I’d rather a high level of encryption (in terms of not being  
crackable)… but also concerned about the amount of processing  
power… since it would be nice to use this for common tasks like  
hashing passwords, etc.

Any advice for the clueless?

thanks  
Luzzy

---

<div class="post-metadata">

**Author:** ![Luzzy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/a698b9/32.png) [@Luzzy](https://www.ruby-forum.com/u/Luzzy)\
**Post date:** [September 30, 2007, 6:23am UTC](https://www.ruby-forum.com/t/advice-on-encryption/115908/2 "2007-09-30T06:23:10Z")

</div>

Well I just found this:

[http://blog.leetsoft.com/2006/03/14/simple-encryption](http://blog.leetsoft.com/2006/03/14/simple-encryption)

I’m worried about speed

Would using this for password encyption be overkill and weigh down my  
server?

Everytime someone attempts to log into the system this would be  
called!

cheers

---

<div class="post-metadata">

**Author:** ![Luzzy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/a698b9/32.png) [@Luzzy](https://www.ruby-forum.com/u/Luzzy)\
**Post date:** [September 30, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/advice-on-encryption/115908/3 "2007-09-30T13:07:47Z")

</div>

On 30 Sep 2007, at 05:22, Luzzy wrote:

> Everytime someone attempts to log into the system this would be  
> called!

I wouldn’t worry excessively about speed. Encrypting a few bytes is  
unlikely to be the bottleneck on a machine where the entire data flow  
could be encrypted (if you’re using ssl).

Fred

---

<div class="post-metadata">

**Author:** ![Luzzy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/a698b9/32.png) [@Luzzy](https://www.ruby-forum.com/u/Luzzy)\
**Post date:** [September 30, 2007, 1:53pm UTC](https://www.ruby-forum.com/t/advice-on-encryption/115908/4 "2007-09-30T13:53:26Z")

</div>

Good point, Fred. Thanks
