Search for a tool
Brainfuck

Tool to decode/encode in Brainfuck. Brainf**k is a minimalist programmation language that takes its name from two words that refer to a kind of cerebral masturbation.

Results

Brainfuck -

Tag(s) : Informatics,Algorithm

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Brainfuck tool. Thank you.

This page is using the new English version of dCode, please make comments !

Brainfuck

Sponsored ads

This script has been updated, please report any problems.

Brainfuck Interpreter




Also on dCode: Leet Speak 1337

Brainfuck Encoder



Also on dCode: Leet Speak 1337

Tool to decode/encode in Brainfuck. Brainf**k is a minimalist programmation language that takes its name from two words that refer to a kind of cerebral masturbation.

Answers to Questions

How to encrypt using Brainfuck code?

It is not a proper encryption system, but rather a programming language that has been obfuscated. Encoding consists in writing machine code that returns text as output.

Machine operations are:

> : increment the pointer (+1),

< : decrement the pointer (-1),

+ : increment the byte in the memory cell where the pointer is located,

- : decrement the byte in the memory cell where the pointer is located,

. : send the value of the pointed byte as output (treated as an ASCIIhref value),

, : insert an input byte (user input) in the memory cell where the pointer is located (ASCIIhref value),

[ : if the pointed byte is 0 then jump to instruction after the corresponding ],

] : if the pointed byte is not 0 then jump to the instruction after the corresponding [

How to encrypt using Brainfuck Shortcut code?

In order to shorter the code, an alternative syntax exists (shortcut BF) that uses i for increment, d for decrement, r for right, l for left each associated to a number to indicate the repetition of the operation.

i4 (+ 4 times) => ++++ , d3 (- 3 times) => ---, r5 => >>>>>, l4 => <<<<

How to decrypt Brainfuck code?

Once again it is not an decryption but rather a simple interpretation of the code. Each byte send as output is then a plain text character.

How to decrypt Brainfuck Shortcut code?

One has to replace iX, dX, rX and lX by respectively +, -, >, < X times to get back the original BF code.

How to recognize Brainfuck coded text?

The message is composed of the 8 characters ><+-.,[]

The character ] should appear as many times as the character ]

The characters + and - are the most common and usually appear to +++ group or ---. It makes little sense (but possible) to have + and - consecutively.

The characters . and , are less frequent.

What are the variants of the Brainfuck code?

Many variant of brainfuck have gave languages such as Spoon or Ook.

When Brainfuck have been invented ?

Created by Urban Müller in 1993

Ask a new question

Source code

dCode retains ownership of the source code of the script Brainfuck. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Brainfuck script for offline use, for you, your company or association, see you on contact page !

Questions / Comments


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Brainfuck tool. Thank you.


Source : http://www.dcode.fr/brainfuck-language
© 2016 dCode — The ultimate 'toolkit' website to solve every problem. dCode