summaryrefslogtreecommitdiff
path: root/set2/task9.c
blob: 9b9117469447614b4a22d3e851d2930b5a770013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "../lib/lib2.h"
#include <stdio.h>

int main(int argc, char **argv)
{
	// implemten PKCS#7 padding
	char *result = NULL;
	
	result = pkcs7_padding("YELLOW SUBMARINE", 16, 10);
	printf("%s\n", result);
	
	free(result);
	return 0;
}