EMSA Classes
Encoding Method for Signatures, Appendix
Add more data to the signature computation
const(ubyte)* input | some data |
size_t length | length of input in bytes |
Return the encoding of a message
SecureVector!ubyte msg | the result of rawData() |
size_t output_bits | the desired output bit size |
RandomNumberGenerator rng | a random number generator |
Verify the encoding
SecureVector!ubyte coded | the received (coded) message representative |
SecureVector!ubyte raw | the computed (local, uncoded) message representative |
size_t key_bits | the size of the key in bits |