Description Usage Arguments Value Examples
Substitution cipher, using the Beaufort square and a given letter as a Key.
1 | beaufort.cipher(ms, key, code)
|
ms |
The message to be encrypted/decrypted in a single character object. The Raw and encrypted message can be written with spaces and upper cases, but no numbers. |
key |
A single letter character object (in upper or lower case) which indicates the key in which the message will be encrypted or decrypted. |
code |
It refers to the transformation that will be made to the message: "encrypt" and "decrypt". |
A character object with the transformed message, using the key to locate in the beaufort code the corresponding letter.
1 2 3 | beaufort.cipher(ms = "Hello World", key = "Z", code = "encrypt")
beaufort.cipher(ms = "FIBBYQYVBJ", key = "m", code = "decrypt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.