Title: | Provides ZENIT-POLAR Substitution Cipher Method of Encryption |
Version: | 0.1.4 |
Description: | Implementation of ZENIT-POLAR substitution cipher method of encryption using by default the TENIS-POLAR cipher. This last cipher of encryption became famous through the collection of Brazilian books "Os Karas" by the author Pedro Bandeira. For more details, see "A Cryptographic Dictionary" (GC&CS, 1944). |
Encoding: | UTF-8 |
LazyData: | true |
URL: | https://github.com/adelmofilho/tenispolaR |
BugReports: | https://github.com/adelmofilho/tenispolaR/issues |
Suggests: | covr, testthat |
Imports: | stringr |
RoxygenNote: | 6.1.1 |
License: | GPL-3 |
NeedsCompilation: | no |
Packaged: | 2019-03-05 22:16:13 UTC; Adelmo Filho |
Author: | Adelmo Filho [aut, cre] |
Maintainer: | Adelmo Filho <adelmo.aguiar.filho@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2019-03-08 14:10:03 UTC |
ZENIT-POLAR substitution cipher method of encryption
Description
Returns a message encrypted by ZENIT-POLAR substitution cipher method of encryption using by default TENIS-POLAR key.
Usage
encryption(x, key_from = "tenis", key_to = "polar")
Arguments
x |
message to encrypt |
key_from |
first one-way cipher |
key_to |
second one-way cipher |
Details
This kind of encryption replace the nth character of 1th key to the nth character of 2nd key and vice versa.
Value
encrypted message
Examples
x <- "orro o um psibinhe tisi er kisir: e ivorre der ceseir, e celpsisae der cisopir!"
encryption(x, key_from = "polar", key_to = "tenis")