Search for a tool
Ragbaby Cipher

Tool to decode/encode with Ragbaby cipher, an encryption system proposing a progressive and different shift for each word.

Results

Ragbaby Cipher -

Tag(s) : Poly-Alphabetic Cipher

Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Feedback and suggestions are welcome so that dCode offers the best 'Ragbaby Cipher' tool for free! Thank you!

# Ragbaby Cipher

## Ragbaby Decoder

 Alphabet size 26 letters (A-Z) 24 letters (Original, without J and X) 36 alphanumeric characters (A-Z0-9)

## Ragbaby Encoder

 Alphabet size 26 letters (A-Z) 24 letters (Original, without J and X) 36 alphanumeric characters (A-Z0-9)

### What is Ragbaby? (Definition)

Ragbaby is a polyalphabetic substitution cipher using a progressive shift.

### How to encrypt using Ragbaby cipher?

Encryption with Ragbaby uses the word division of a text as well as a disordered alphabet.

For each word, numbered i (ranging from 1 to N), each letter, numbered j (ranging from 0 to M) is shifted by i+j in the alphabet.

Example: Encrypt the 2 words RAG BABY with the alphabet ALPHBETCDFGIKMNOQRSUVWYZ, to obtain SPM THDH

 Plain letter R A G B A B Y word i 1 1 1 2 2 2 2 letter j 0 1 2 0 1 2 3 i+j 1 2 3 2 3 4 5 Cipher letter S P M T H D H

It is important to define words and their divisions, such as whether a hyphenated word counts as 1 or 2 words.

### How to generate the keyed alphabet?

The alphabet is generated from a keyword, whose repeated letters are removed before adding the rest of the letters of the alphabet in order.

Example: SECRET generates SECRTABDFGHIJKLMNOPQUVWXYZ

In the original version, the author describes an alphabet of only 24 letters, by removing the J (replaced by I) and the X (replaced by W).

### How to decrypt Ragbaby cipher?

Ragbaby is an encryption by shift, it is then necessary to calculate the shifts (i+j) for each letter and to subtract this value in the alphabet for each letter of the encrypted message (inverse operation of the encryption).

### How to recognize a Ragbaby ciphertext? (Identification)

Ragbaby necessarily has spaces (or other limiter) to separate the words.

In the original version, only 24 letters are used (no J or X).

### What are the variants of the Ragbaby cipher?

The alphabet and its size are configurable.

The first word is shifted by 1, it is possible to take another value.

Each letter induces an additional shift of 1, it is possible to shift more.

### When was Ragbaby invented?

Ragbaby was proposed by Sherlac, a member of the ACA (American Cryptogram Association) in 1955.

## Source code

dCode retains ownership of the "Ragbaby Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Ragbaby Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Ragbaby Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Ragbaby Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

## Cite dCode

The copy-paste of the page "Ragbaby Cipher" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Ragbaby Cipher on dCode.fr [online website], retrieved on 2024-09-14, https://www.dcode.fr/ragbaby-cipher

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!