cryptopals_c

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

commit 6331d486eb989eb5819cd9845f77ae13629ce9b9
parent 68c30d63749eb3d54e8895ab069bfd5bdac3d320
Author: anna <anna@brokenlove.online>
Date:   Tue, 27 Aug 2024 23:14:00 +0200

c5 done

Diffstat:
As1/c5.c | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/s1/c5.c b/s1/c5.c @@ -0,0 +1,15 @@ +#include <stdio.h> +#include <ctype.h> +#include <ba.h> +#include <cryptanalysis.h> + +int main() +{ + ba *a, *b; + + a = ba_from_string("Burning 'em, if you ain't quick and nimble\nI go crazy when I hear a cymbal"); + b = ba_from_string("ICE"); + encrypt_rkxor(a, b); + ba_fprint(a, stdout, 0); + printf("\n"); +}