Symbian3/SDK/Source/GUID-1D60BB43-4FF8-5632-A597-0DF00234F93E.dita
changeset 8 ae94777fff8f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/SDK/Source/GUID-1D60BB43-4FF8-5632-A597-0DF00234F93E.dita	Fri Jun 11 12:39:03 2010 +0100
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
+<!-- This component and the accompanying materials are made available under the terms of the License 
+"Eclipse Public License v1.0" which accompanies this distribution, 
+and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
+<!-- Initial Contributors:
+    Nokia Corporation - initial contribution.
+Contributors: 
+-->
+<!DOCTYPE concept
+  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<concept id="GUID-1D60BB43-4FF8-5632-A597-0DF00234F93E" xml:lang="en"><title>Finding
+the cryptographic strength</title><prolog><metadata><keywords/></metadata></prolog><conbody>
+<p>The <xref href="GUID-975EEB8D-32AC-3182-B69C-CEE365505AC4.dita"><apiname>TCrypto</apiname></xref> class enables the user software to find
+out the strength of a Cryptography library. The example below illustrates
+how: </p>
+<codeblock id="GUID-130CBA8C-0629-52A9-BB96-20E50A4DE417" xml:space="preserve">
+// 1. Get the cryptography strength.
+
+TCrypto::TStrength strength = TCrypto::Strength();
+
+
+// 2. Determine the cryptographic strength.
+
+switch (strength)
+    {
+    case TCrypto::EWeak:
+        // Using 56 bit key strength.
+        break;
+    case TCrypto::EStrong:
+        // Using 512 bit key strength.
+        break;
+    default:
+    }
+</codeblock>
+</conbody></concept>
\ No newline at end of file