From: "Iñaki Baz Castillo" Date: 2009-02-06T04:52:48+09:00 Subject: Re: Best way to encrypt/decrypt a word El Jueves, 5 de Febrero de 2009, Ruby Student escribió: > Hello Team, > > I have the need to encrypt/decrypt a one word string. The encrypted word > 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 attacker can see the Ruby code it can know how to decrypt it. -- Iñaki Baz Castillo