Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 17:36:07 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Marc W <mwlist@akira.lanfear.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: encrypting strings in C
Message-ID:  <Pine.BSF.4.21.0012111733450.41019-100000@cactus.fi.uba.ar>
In-Reply-To: <200012112016.MAA25998@akira.lanfear.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Dec 2000, Marc W wrote:

> 
> Hello!
> 
> 	Are there any standard library routines for encrypting strings?  In one
> of the programs I'm writing, I've got a string that I want to write out to
> a file, but it is sensitive information.  Apart from setting the file 
> permissions to try and restrict access to it, is there some library routine
> I can call to enrypt it in some way?  Something that worked across all
> UN*X platforms would be preferred ....

Take a look at openssl's libcrypto. It has functions to encrypt using
several algorithms in every mode (CBD, ECB, etc)

> 
> 	Thanks!
> 
> 	marc.
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012111733450.41019-100000>