summaryrefslogtreecommitdiff
path: root/set2/task9.c
blob: 9f9bc8e77737abd607c184854a2f4d9378722b9c (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, 16);
	printf("%s\n", result);
	
	free(result);
	return 0;
}