Encrypting Files

Hi all,
first off id like to say hi to everyone.
Ok im writing a program that stores passwords in a file, and to offer security I need to encrypt and uncrypt these files.
How would i go about this?
Im not that experienced so any help would be appriechiated :)
[290 byte] By [Wibbles] at [2007-11-19 19:44:41]
# 1 Re: Encrypting Files
This article might help: Cryptography using the Win32 Cryptography API ( http://www.codeproject.com/system/icrypto.asp)

Cheers
golanshahar at 2007-11-10 23:43:02 >
# 2 Re: Encrypting Files
This ( http://www.eskimo.com/~weidai/cryptlib.html)
DragForce at 2007-11-10 23:43:59 >