Added crypto library with repeated_xor code