Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Usage of Security API

4 replies · 1,921 views · Started 24 May 2004

Hi all,
I want to know how to use the Security API of Symbian for encryption/decryption. I should be able to choose the algorithm and its mode of operation. I will be happy if anybody can give an example illustrating its usage.
Please treat the message on a priority basis. Its quite urgent!!

Thanks..

Regards
V R Krishna

The necessary .lib files, etc., are not part of public Symbian SDK's, which have only the API descriptions.

You need to be at least a Symbian Platinum Partner to get them.

If you're not, then you have the API descriptions, but need to do the implementations yourself (which is not something I'd recommend; getting your own encryption/decryption library working reliably and correctly is to my experience not the easiest of tasks).

The RC4 code is available somewhere on the net. Maybe google will help. It is fairly easy to implement and there are standard tests available (or there where last time I used it). You should alse be able to find information on DES, tripple DES and IDES; all open systems.

Alternatively, download the PGP source code and investigate the possibility of implementing some of the encoding techniques for that. The PGP source include encryption systems using both symetric and non-symetric schemes.

We are a Symbian Platinum Partner. We do have some DLLs( cryto.dll, cryptography.dll ) But I'am unable to locate the exact API and its definition file so that I can use it. I will be glad if you can educate me more on this.

Thanks a lot.

Regards
V R Krishna

N/A wrote:The necessary .lib files, etc., are not part of public Symbian SDK's, which have only the API descriptions.

You need to be at least a Symbian Platinum Partner to get them.

If you're not, then you have the API descriptions, but need to do the implementations yourself (which is not something I'd recommend; getting your own encryption/decryption library working reliably and correctly is to my experience not the easiest of tasks).

We are a Symbian Platinum Partner. We do have some DLLs( cryto.dll, cryptography.dll ) But I'am unable to locate the exact API and its definition file so that I can use it. I will be glad if you can educate me more on this.

Thanks a lot.

Regards
V R Krishna