encode: encode

Description Usage Arguments Value Examples

Description

Encode a string according to the MECA (Missy Elliott Cryptographic Algorithm). Namely, we shift the bits down, flip it, and reverse it.

Usage

1

Arguments

str

A string vector.

Value

A string vector of the same length as the input.

Examples

1
2
str <- "a b a c a b b"
encode(str)

wrathematics/mec documentation built on May 4, 2019, 10:52 a.m.