MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / encrypt

Method encrypt

extra/yassl/src/crypto_wrapper.cpp:393–396  ·  view source on GitHub ↗

DES encrypt plain of length sz into cipher

Source from the content-addressed store, hash-verified

391
392// DES encrypt plain of length sz into cipher
393void DES::encrypt(byte* cipher, const byte* plain, unsigned int sz)
394{
395 pimpl_->encryption.Process(cipher, plain, sz);
396}
397
398
399// DES decrypt cipher of length sz into plain

Callers 5

cipherFinishedFunction · 0.45
buildMessageFunction · 0.45
buildMethod · 0.45
DES_ede3_cbc_encryptFunction · 0.45
DES_ecb_encryptFunction · 0.45

Calls 2

EncryptMethod · 0.80
ProcessMethod · 0.45

Tested by

no test coverage detected