cryptopals_c

cryptopals crypto challenges solutions in pure c
git clone git://git.superpozycja.net/cryptopals_c
Log | Files | Refs | README

c5.c (296B)


      1 #include <stdio.h>
      2 #include <ctype.h>
      3 #include <ba.h>
      4 #include <analysis.h>
      5 
      6 int main()
      7 {
      8 	ba *a, *b;
      9 
     10 	a = ba_from_string("Burning 'em, if you ain't quick and nimble\nI go crazy when I hear a cymbal");
     11 	b = ba_from_string("ICE");
     12 	encrypt_rkxor(a, b);
     13 	ba_fprint(a, stdout, 0);
     14 	printf("\n");
     15 }