diff options
| author | Pieter Wuille <[email protected]> | 2013-05-01 06:52:05 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-05-30 05:20:21 +0200 |
| commit | dfa23b94c24aae6466152fccbe896ba5dc0e97b4 (patch) | |
| tree | a1f7f856577b2223bae9351c960b595b4032ce7a /src/crypter.h | |
| parent | Make CPubKey statically allocated (diff) | |
| download | discoin-dfa23b94c24aae6466152fccbe896ba5dc0e97b4.tar.xz discoin-dfa23b94c24aae6466152fccbe896ba5dc0e97b4.zip | |
CSecret/CKey -> CKey/CPubKey split/refactor
Diffstat (limited to 'src/crypter.h')
| -rw-r--r-- | src/crypter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypter.h b/src/crypter.h index 6f75170ba..4134c1b49 100644 --- a/src/crypter.h +++ b/src/crypter.h @@ -101,7 +101,7 @@ public: } }; -bool EncryptSecret(CKeyingMaterial& vMasterKey, const CSecret &vchPlaintext, const uint256& nIV, std::vector<unsigned char> &vchCiphertext); -bool DecryptSecret(const CKeyingMaterial& vMasterKey, const std::vector<unsigned char> &vchCiphertext, const uint256& nIV, CSecret &vchPlaintext); +bool EncryptSecret(const CKeyingMaterial& vMasterKey, const CKeyingMaterial &vchPlaintext, const uint256& nIV, std::vector<unsigned char> &vchCiphertext); +bool DecryptSecret(const CKeyingMaterial& vMasterKey, const std::vector<unsigned char>& vchCiphertext, const uint256& nIV, CKeyingMaterial& vchPlaintext); #endif |