![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
Mask generation function interface. More...
#include <pubkey.h>
Public Member Functions | |
| virtual | ~MaskGeneratingFunction () |
| virtual void | GenerateAndMask (HashTransformation &hash, byte *output, size_t outputLength, const byte *input, size_t inputLength, bool mask=true) const =0 |
| Generate and apply mask. More... | |
Mask generation function interface.
P1363 key derivation function.
| H | hash function used in the derivation |
|
inlinevirtual |
|
pure virtual |
Generate and apply mask.
| hash | HashTransformation derived class |
| output | the destination byte array |
| outputLength | the size fo the the destination byte array |
| input | the message to hash |
| inputLength | the size of the message |
| mask | flag indicating whether to apply the mask |
Implemented in P1363_MGF1.
1.8.11