Interesting. Implemented the Index of Coincidence version for a class in college. Was fun.
This seems like the kind of problem that could be better solved by coming up with a better algorithm. Like, ultimately the model is performing an "algorithm" of sorts on the data to guess the key length.
5 comments
[ 3.5 ms ] story [ 8.6 ms ] threadThis seems like the kind of problem that could be better solved by coming up with a better algorithm. Like, ultimately the model is performing an "algorithm" of sorts on the data to guess the key length.
https://huggingface.co/blog/diwank/cryptgpt-part1