There're no tests which reuse the returned function, so get_permutation should receive both the pattern and the non-permuted list, and return a permuted list.
get_permutation
Katas about ciphers should never be tested with decrypt(encrypt(input)).
decrypt(encrypt(input))
This is Vigenere cipher, and it's a duplicate:
https://www.codewars.com/kata/52d1bd3694d26f8d6e0000d3
Loading collection data...
There're no tests which reuse the returned function, so
get_permutation
should receive both the pattern and the non-permuted list, and return a permuted list.Katas about ciphers should never be tested with
decrypt(encrypt(input))
.This is Vigenere cipher, and it's a duplicate:
https://www.codewars.com/kata/52d1bd3694d26f8d6e0000d3