Description Usage Arguments Value Examples
Caesar cipher can be decrypted without the key if the language of the message is known.
1 | freq_analysis(msg, freq)
|
msg |
Ciphertext. |
freq |
Letter's frequency in the message's language. |
Caesar cipher secret key. Sorted according to their likelihood.
1 2 3 4 5 | crypto <- caesar(msg_en,3)
crypto
info <- freq_analysis(preprocess(crypto),freqs$en)
info
caesar(crypto,info[1],decrypt=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.