Learn R Programming

ciphertext (version 0.1.0)

nullcipher: nullcipher

Description

A null cipher is an encryption method where the plaintext is mixed with a large amount of non-cipher material (decoy).

Usage

nullcipher(phrase, index, decrypt = TRUE)

Value

a string

Arguments

phrase

Word or phrase to be decrypted

index

letter of interest for each word in the phrase. Also a pattern vector can be entered.

decrypt

Only Decryption is possible for now, but will be updated in the future

References

https://en.wikipedia.org/wiki/Null_cipher

Examples

Run this code
nullcipher("handy set false posts", c(1,2,3))

Run the code above in your browser using DataLab