Date: Tue, 12 Dec 2000 09:20:01 +1300 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: Marc W <mwlist@akira.lanfear.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: encrypting strings in C Message-ID: <20001212092001.A17968@jonc.itouch> In-Reply-To: <200012112016.MAA25998@akira.lanfear.com>; from mwlist@akira.lanfear.com on Mon, Dec 11, 2000 at 12:16:15PM -0800 References: <200012112016.MAA25998@akira.lanfear.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 11, 2000 at 12:16:15PM -0800, 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 .... There's always crypt(3). crypt_get_format() and crypt_set_format() are FreeBSD specific, I think. -- Jonathan Chen <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- Computers are like air conditioners. They stop working when you open Windows. 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?20001212092001.A17968>