Search for a tool
UUencode

Tool to encrypt/decrypt with UUEncode. UUEncode (for Unix to Unix Encoding) is a symmetric encryption based on convertion of binary data (split into 6-bit blocks) into ASCII characters.

Results

UUencode -

Tag(s) : Cryptography,Informatics,Internet

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 UUencode tool. Thank you.

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

UUencode

Sponsored ads

UUEncode Decoder - UUDecode



UUEncode Encoder



Tool to encrypt/decrypt with UUEncode. UUEncode (for Unix to Unix Encoding) is a symmetric encryption based on convertion of binary data (split into 6-bit blocks) into ASCII characters.

Answers to Questions

How to encrypt using UUEncode cipher?

Uuencode encoding is able to encode any binary string using 65 ASCIIhref characters (from 32 to 96):

space ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _

A message encrypted by uuencode begins with begin (mode) (name) where (mode) is the value of the access rights to the Unix file and (name) is the name of the file that will be created at decoding.

begin 664 dcode.txt will create a file named dcode.txt with access rights 664.

A message encoded by uuencode ends with a line containing only end.

The encoding consists of reading the binary data (stream or file) divided by a group of 3 bytes (ie 24 bits, possibly supplemented by bits at 0 at the end if necessary). These 24 bits are themselves divided into 4 groups of 6 bits. And each 6-bit group (having a binary value between 000000 and 111111) is converted to decimal (a number between 0 and 63 in base 10href).

The encoding table is similar to the ASCIIhref table but shifted by 32 and limited to 64 characters.

The encoding program also adds, at the very beginning of each line of text produced, the character count / bytes count encoded in this line; This count (from 1 to 45) is itself encoded (by adding 32 to itself) before being converted to an ASCIIhref character. The maximum allowed size of the lines produced is therefore 61 characters (1 character for the initial length plus 60 characters encoding 45 bytes).

To encode DCODE we get %9$-O9&4.

How to decrypt UUEncode cipher?

Decryption by UUEncode applies by lines.

Consider the encoded message %9$-O9&4

The first character of each line corresponds to the number of characters in the line.

% Is the 5th character of the UUEncode alphabet, the plain message will contain 5 bytes.

The other characters must be treated in groups of 4.

Consider the group of 4 characters 9$-O

Write the position of each character in the alphabet and converts this position to binary (6 bits) to obtain 24 bits.

9 is at position 25 or 011001 in 6-bit binary.

$ Is at position 2 either 000010, etc.

9$-O therefore corresponds to these 24 bits: 011001 000010 001101 101111

The 24 bits are then divided into 3 bytes (of 8 bits). These 3 bytes are those of the original data.

011001 000010 001101 101111 becomes 01100100 00100011 01101111 which are the ASCIIhref values of d, C and o, respectively.

Finally, the encrypted message '%9$-O9&4 corresponds to the plain message DCODE.

How to recognize UUEncode ciphertext?

The message should normally start with begin and end with end (but this is not mandatory).

The message consists of up to 65 distinct characters.

What are the variants of the UUEncode cipher?

Technically it is possible to use another alphabet but this is no longer really UUEncode. There are other similar techniques for encoding, the best known is Base64href.

Ask a new question

Source code

dCode retains ownership of the source code of the script UUencode. 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, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the UUencode 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 UUencode tool. Thank you.


Source : http://www.dcode.fr/uu-encoding
© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode