Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Static Public Member Functions | |
static void | TestPassphraseSingle (const std::vector< unsigned char > &vchSalt, const SecureString &passphrase, uint32_t rounds, const std::vector< unsigned char > &correctKey=std::vector< unsigned char >(), const std::vector< unsigned char > &correctIV=std::vector< unsigned char >()) |
static void | TestPassphrase (const std::vector< unsigned char > &vchSalt, const SecureString &passphrase, uint32_t rounds, const std::vector< unsigned char > &correctKey=std::vector< unsigned char >(), const std::vector< unsigned char > &correctIV=std::vector< unsigned char >()) |
static void | TestDecrypt (const CCrypter &crypt, const std::vector< unsigned char > &vchCiphertext, const std::vector< unsigned char > &vchPlaintext=std::vector< unsigned char >()) |
static void | TestEncryptSingle (const CCrypter &crypt, const CKeyingMaterial &vchPlaintext, const std::vector< unsigned char > &vchCiphertextCorrect=std::vector< unsigned char >()) |
static void | TestEncrypt (const CCrypter &crypt, const std::vector< unsigned char > &vchPlaintextIn, const std::vector< unsigned char > &vchCiphertextCorrect=std::vector< unsigned char >()) |
Detailed Description
Definition at line 28 of file crypto_tests.cpp.
Member Function Documentation
◆ TestDecrypt()
|
inlinestatic |
Definition at line 55 of file crypto_tests.cpp.
References BOOST_CHECK, and CCrypter::Decrypt().
Referenced by BOOST_AUTO_TEST_CASE(), and TestEncryptSingle().
◆ TestEncrypt()
|
inlinestatic |
Definition at line 77 of file crypto_tests.cpp.
References TestEncryptSingle().
Referenced by BOOST_AUTO_TEST_CASE().
◆ TestEncryptSingle()
|
inlinestatic |
Definition at line 64 of file crypto_tests.cpp.
References BOOST_CHECK, CCrypter::Encrypt(), and TestDecrypt().
Referenced by TestEncrypt().
◆ TestPassphrase()
|
inlinestatic |
Definition at line 46 of file crypto_tests.cpp.
References TestPassphraseSingle().
Referenced by BOOST_AUTO_TEST_CASE().
◆ TestPassphraseSingle()
|
inlinestatic |
Definition at line 31 of file crypto_tests.cpp.
References HexStr(), CCrypter::SetKeyFromPassphrase(), CCrypter::vchIV, and CCrypter::vchKey.
Referenced by TestPassphrase().
The documentation for this class was generated from the following file:
- src/wallet/test/crypto_tests.cpp