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
[ 2.9 ms ] story [ 29.0 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