Trait rscache::checksum::Rs3Encode [−][src]
Expand description
Consumes the Checksum
and encodes it into a byte buffer
using the RS3 protocol.
Note: RS3 clients use RSA. The encoding process requires an exponent and a modulus to encode the buffer properly.
After encoding the checksum it can be sent to the client.
Errors
Returns a CacheError
if the encoding fails.