SymbianCryptographyLibraries - HowTo?

Login to reply to this topic.
Mon, 2008-02-04 21:11
Joined: 2003-09-15
Forum posts: 175

Hi all,

I have been scouring the internet, Nokia forum, Newlc and the Symbian
developer forums for an example of how to encrypt and decrypt a text file
via password(key) - in the same way as it was done
in the S60 2nd Edition 'Cipher' example application - but for the 3rd
edition Symbian SDK.

Although the SymbianCryptographyLibraries.exe have been released
(http://developer.symbian.com/forum/ann.jspa?annID=14)
there seems to be no indication of how to actually use them correctly.

The only example I could find was on the Nokia forum Wiki:
http://wiki.forum.nokia.com/index.php/Password_based_encryption
However, that example doesn't handle files and Unicode characters such as the Euro
symbol just gets lost after decryption.

I am currently finalising the porting of my application from S60 2nd Edition
to 3rd edition and the 2nd Edition encryption was based on the old Cipher example.
As such, most of the classes involved in that example do not exist in 3rd
edition, so I am not sure how to proceed on this matter.

I was hoping that an example of the released Crypto libs would be released
with the SDK but there is none as yet.

Does anyone have/know of a simple example of how to encrypt a simple flat text file
by password so I can see how the API it is meant to be used?

Any help would be greatly appreciated.


~~~~

  • Login to reply to this topic.