From: Ruby Student Date: 2009-02-06T05:10:39+09:00 Subject: Re: Best way to encrypt/decrypt a word --000e0cd229649512fe04623181ae Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Feb 5, 2009 at 2:52 PM, I=F1aki Baz Castillo wrote: > El Jueves, 5 de Febrero de 2009, Ruby Student escribi=F3: > > Hello Team, > > > > I have the need to encrypt/decrypt a one word string. The encrypted wor= d > > will be saved in a file. > > Later the word will be picked-up from the file, decrypt it at execution > > time, and use it as a UNIX password to perform certain function that > > requires authentication. > > What Ruby facility is available for this simple function? > > The problem is: > Even if the UNIX password is encrypted by the Ruby programm, if an attack= er > can see the Ruby code it can know how to decrypt it. > > > -- > I=F1aki Baz Castillo > > I=F1aki, You are correct. However, we are behind several firewalls. Also, the file with the encripted password will be place within a "secured" dir. Thank you --=20 Ruby Student --000e0cd229649512fe04623181ae--