?? csoftwarecrypto.cpp
字號:
//
// CSoftwareCrypto.cpp
//
#include "CSoftwareCrypto.h"
// Construction and destruction functions
CSoftwareCrypto* CSoftwareCrypto::NewL()
{
CSoftwareCrypto* self=new(ELeave) CSoftwareCrypto();
CleanupStack::PushL(self);
self->ConstructL();
CleanupStack::Pop();
return self;
}
CSoftwareCrypto::~CSoftwareCrypto()
{}
CSoftwareCrypto::CSoftwareCrypto()
{}
void CSoftwareCrypto::ConstructL()
{}
void CSoftwareCrypto::EncryptL(const TDesC8& aPlaintext, const TDesC8& /*aKey*/, TDes8& aCiphertext, CCryptoInterface::TAlgorithm /*aAlg*/)
{// Do nothing crytographic here (it's an example). Just return what's passed in.
aCiphertext = aPlaintext;
}
void CSoftwareCrypto::DecryptL(const TDesC8& aCiphertext, const TDesC8& /*aKey*/, TDes8& aPlaintext, CCryptoInterface::TAlgorithm /*aAlg*/)
{// Do nothing crytographic here (it's an example). Just return what's passed in.
aPlaintext = aCiphertext;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -