The TCrypto class enables the user software to find out the strength of a Cryptography library. The example below illustrates how:
// 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: }
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.