hi here's my problem.. really hope anyone can help me figure this out. I'm using tripledes encryption: -i can encrypt or decrypt a text file i written using notepad hundreds of times without problem. -but when i use my application to write on a text file using either ofstream/ifstream/fstream, i cannot encrypt the file successfully. the encrypted file will display multiple みኸ攙削?⪆孇禘맪칡颽鞫캨斫ꑫ (actually it's a small box character, but it seems i can't display it here). i have flushed the content, and closed the file.. but I still can't encrypt the file... FYI, i can open the text file I write using notepad (before trying to encrypt it) without any problem. all the characters are displayed correctly..
i've tried figuring this out since last week...please help... 8-} thanks a lot