CatapultServer  v0.5.0.1 (Elephant)
SecureZero.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "catapult/types.h"
23 
24 namespace catapult { namespace crypto {
25 
27  void SecureZero(Key& key);
28 
30  void SecureZero(uint8_t* pData, size_t dataSize);
31 }}
catapult::utils::ByteArray::size
constexpr size_t size() const
Returns the array size.
Definition: ByteArray.h:55
catapult::crypto::SecureZero
void SecureZero(Key &key)
Securely zeros out the memory backing the specified key.
Definition: SecureZero.cpp:42
CATAPULT_ZEROMEM
#define CATAPULT_ZEROMEM(PTR, SIZE)
Definition: SecureZero.cpp:32
SecureZero.h
types.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::utils::ByteArray< Key_Size, Key_tag >
catapult::Key
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41