Skip to content

Instantly share code, notes, and snippets.

@kkrico
Created December 2, 2016 17:53
Show Gist options
  • Save kkrico/c6999ebf567d0107771967edc2996b66 to your computer and use it in GitHub Desktop.
Save kkrico/c6999ebf567d0107771967edc2996b66 to your computer and use it in GitHub Desktop.
int main(void)
{
char* source = "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z";
char* criptografado = criptografar(source, 3);
char* descriptografado = descriptografar(criptografado, 3);
printf("Original : %s", source);
printf("\n");
printf("Criptogr : %s", criptografado);
printf("\n");
printf("DesCript : %s", descriptografado);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment