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) : Programming Language

Share
Share
dCode and you

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!


Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Brainfuck tool. Thank you.

Brainfuck

Sponsored ads

Brainfuck Interpreter




Loading...
(if this message do not disappear, try to refresh this page)
See also: Leet Speak 1337SpoonOok!

Brainfuck Encoder



See also: Leet Speak 1337SpoonOok!

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?

Brain Fuck 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 ASCII value),

, : insert an input byte (user input) in the memory cell where the pointer is located (ASCII 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.

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

How to decrypt Brainfuck code?

Once again it is not an decryption but rather an interpretation of the code (or brainfuck translator that turn brainfuck to text). Each byte send as output is then a plain text character.

How to decrypt Brainfuck Shortcut code?

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 ><+-.,[] (opening chevron, closing chevron, plus, minus, point, comma, open bracket, closing bracket)

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 esoteric languages such as Alphuck, Binaryfuck, Ook, Pikalang, Reversefuck or Spoon.

When Brainfuck have been invented ?

Created by Urban Müller in 1993

Source code

dCode retains ownership of the source code of the script Brainfuck online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Brainfuck script for offline use on PC, iPhone or Android, ask for price quote on contact page !

Questions / Comments


Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Brainfuck tool. Thank you.


Source : https://www.dcode.fr/brainfuck-language
© 2019 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode
Feedback