Encrypting a string value

Nifty Ubuntu niftyubuntu at niftyegg.com
Thu Oct 22 16:39:31 UTC 2009


On Fri, Oct 16, 2009 at 12:28 PM, Knapp <magick.crow at gmail.com> wrote:
> On Fri, Oct 16, 2009 at 2:40 PM, Ray Parrish <crp at cmc.net> wrote:
>> Res wrote:
>>> On Thu, 15 Oct 2009, Ray Parrish wrote:
>>>
>>>
>>>> I am writing yet another script, and I would like to know if there are
>>>> any bash commands, or installable binaries that will encrypt and decrypt
>>>> a text string.
>>>>

As others commented -- You did not disclose enough about what you
are doing for us to help.

Also look at openssl (/usr/bin/openssl).

Note that the pass word tools do not decrypt they simply verify that
the encrypted hash
of the offered pass word matches the saved encrypted hash.  Implicit
in this strategy
is that it adds difficulty for pass word hackers should they capture
/etc/passwd:/etc/shadow files, pay attention to the use of the salt
parameter as well.




More information about the ubuntu-users mailing list