Tool to extract letters from a message according to a pattern. It is possible to hide a text into another by adding parasites letters. Letters can follow a regular extraction pattern (eg: 1 letter of 2).
Letters Extraction - dCode
Tag(s) : Steganography, Data Processing
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!
Extracting letters from text is the process of selecting and isolating individual letters from a text or string. This process can make it possible to reconstruct a subtext or a hidden word.
Take the message ABCDEFGHIJKLMNOPQRSTUVWXYZ, dCode offers different modes for letters extraction:
Take 1 of N letters
Example: Taking 1 of 2 letters: A-C-E-G-I-K-M-O-O-O-U-W-Y-
Example: Taking 1 of 3 letters: A--D--G--J--M--P--S--V--Y-
Extract a pattern
Example: The pattern 2,3 means to take 1 letter each 2 and 1 letter each 3 steps: A-C--F-H--K-M--P-R--U-W--Z
Extract by mask (1 = preserved letter, 0 = letter ignored)
Example: Using the binary mask 101: A-CD-FG-IJ-LM-OP-RS-UV-XY
The patterns and masks are repeated until reaching the end of the message.
If needed, start using any letter rather than the first letter.
Example: Taking a letter of 2 (starting at position 1): A-C-E-G-I-K-M-O-O-O-U-W-Y-
Example: Taking a letter of 2 (starting at position 2): -B-D-F-H-J-L-N-P-R-T-V-X-Z
Punctuation may (or may not) be taken into account in characters count.
In addition to the 1 letter out of N (1 letter out of 2, 3 or 4), extracting the letters according to known sequences is possible:
— Sequence of even numbers: 2,4,6,8,10
— Sequence of prime numbers: 2,3,5,7,11
— Fibonacci sequence: 2,3,5,8,13
— Digits of Pi: 3,1,4,1,5,9
etc.
For all these sequences, it is possible to start at the letter 1 or at the letter N.
To isolate 1 letter every N, here is an algorithm // Pseudo-code
function extractLetters1ofN(text, n) {
extracted = ""
textLength = length(text)
for (i = 0 ; i < textLength; i++) {
if (i % N == 0) extracted += text[i]
}
return extracted
}
Although this is not practical, Excel provides functions such as RIGHT() or LEFT() to extract N letters at the beginning or end of words. (dCode is better and recommended)
An acrostic is a poem or message from which certain letters or words can be extracted to give a second meaning to the message.
dCode retains ownership of the "Letters Extraction" source code. Except explicit open source licence (indicated Creative Commons / free), the "Letters Extraction" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Letters Extraction" 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 "Letters Extraction" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Letters Extraction" 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):
Letters Extraction on dCode.fr [online website], retrieved on 2024-12-21,