Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftable.py arguments #1

Open
yulianaalich opened this issue Feb 28, 2019 · 1 comment
Open

ftable.py arguments #1

yulianaalich opened this issue Feb 28, 2019 · 1 comment

Comments

@yulianaalich
Copy link

Hi
I was wondering what the arguments[ -s num ] and [ -p num ] mean in the command
$ python ftable.py [ -v ] [ -s num ] [ -p num ] [ infile [ outfile ] ]

Thanks!

@nytr0gen
Copy link
Owner

nytr0gen commented Mar 6, 2019

  • -s num is skip. so it skips the first num characters. e.g. you have the string abcdefg and use -s 2 it will use only cdefg
  • -p num is period. it's useful if you think the encrypted text uses something like vigenere (encryption system with a fixed-length key). default period is 1. e.g. on input ababab and -p 2 it will use aaa. on -s 1 -p 2 it will use bbb

you can read more about this here - https://github.com/sdsunjay/kasiski/blob/master/asgn1.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants