# Asynchronous Encryption?

**URL:** <https://www.ruby-forum.com/t/asynchronous-encryption/54002>\
**Category:** Rails\
**Created:** [February 20, 2006, 12:21am UTC](https://www.ruby-forum.com/t/asynchronous-encryption/54002 "2006-02-20T00:21:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnstevenson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8dc957/32.png) [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Post date:** [February 20, 2006, 12:21am UTC](https://www.ruby-forum.com/t/asynchronous-encryption/54002/1 "2006-02-20T00:21:33Z")

</div>

Hi Railers,

I’m looking for something to do asynchronous encryption - where the  
encryption  
and decryption keys are different. This is for a scenario where I want  
to be  
able to store some information in the database that can only be  
decrypted in  
a different physical location using a secret private key (which will not  
be  
stored on the machine doing the encrypting).

I’m trying to work out if [http://ezcrypto.rubyforge.org/](http://ezcrypto.rubyforge.org/) is suitable for  
my  
purposes, and I’m thinking perhaps it isn’t. It also seems that  
[http://crypt.rubyforge.org/](http://crypt.rubyforge.org/) isn’t suitable either. Does anyone have any  
pointers for what I could use to do this?

I found Ruby-GPGME [http://deisui.org/~ueno/ruby/ruby-gpgme/](http://deisui.org/~ueno/ruby/ruby-gpgme/) but it only  
works  
with GPG 0.3.x, which will quite likely cause me problems as I have  
GPGME  
1.0.2 installed (and in use), though I suppose I could compile 0.3.x  
separately if it will let me have both installed at the same time - I  
don’t  
know.

Essentially I’m looking for something along the lines of PGP (GPG) or  
similar,  
but any form of reasonably strong asynchronous encryption will do.

Cheers,

~Dave

–

Dave S.  
Rent-A-Monkey Website Development

> **[Tree Removal Service For Home & Businesses in Salt Lake City, UT](https://www.rentamonkey.com/)**
>
> Rent A Monkey Tree Service provides the safest, highest-quality tree removal for Salt Lake City, UT homes and businesses. Request a service today!

PGP Key: [http://www.rentamonkey.com/pgpkey.asc](http://www.rentamonkey.com/pgpkey.asc)

---

<div class="post-metadata">

**Author:** ![dnstevenson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8dc957/32.png) [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Post date:** [February 20, 2006, 12:24am UTC](https://www.ruby-forum.com/t/asynchronous-encryption/54002/2 "2006-02-20T00:24:35Z")

</div>

Looks at sentry:

gem install sentry

–  
– Tom M.

---

<div class="post-metadata">

**Author:** ![dnstevenson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8dc957/32.png) [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Post date:** [February 20, 2006, 12:30am UTC](https://www.ruby-forum.com/t/asynchronous-encryption/54002/3 "2006-02-20T00:30:44Z")

</div>

On Sunday 19 Feb 2006 23:23, Tom M. wrote:

> Looks at sentry:  
> gem install sentry

Thanks Tom, looks perfect! 🙂

~Dave

–

Dave S.  
Rent-A-Monkey Website Development

> **[Tree Removal Service For Home & Businesses in Salt Lake City, UT](https://www.rentamonkey.com/)**
>
> Rent A Monkey Tree Service provides the safest, highest-quality tree removal for Salt Lake City, UT homes and businesses. Request a service today!

PGP Key: [http://www.rentamonkey.com/pgpkey.asc](http://www.rentamonkey.com/pgpkey.asc)
