CoreComponents 3.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
ModuloPadding Class Reference

PKCS#7 style paddding (RFC 2315) More...

#include <cc/ModuloPadding>

Static Public Member Functions

static void writePadding (Out< BlockCipherSink > sink)
 Write the final padding bytes to sink.
 
static void removePadding (InOut< Bytes > message)
 Remove the padding bytes from message.
 

Detailed Description

PKCS#7 style paddding (RFC 2315)

Member Function Documentation

◆ writePadding()

void writePadding ( Out< BlockCipherSink > sink)
static

Write the final padding bytes to sink.

Note
No further bytes should be written.

◆ removePadding()

void removePadding ( InOut< Bytes > message)
static

Remove the padding bytes from message.