Halfassed Encryption FIXED

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Encrypt the input string by padding either side with a half-byte of 1 bits

_nderscore

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam sagittis dignissim diam et bibendum.

Sample output:

&V7VF"6BWB66V7FWGW"F66rVƗBWF6vGF2Fv76FWB&&VGV

Sample input:_

Fatback tri-tip strip steak spare ribs shank, bacon meatball sausage sirloin pastrami. Rump shankle ground round sirloin ball tip salami. Hamburger pork loin doner, pork pork belly pancetta filet mignon chicken swine.

Sample output:

fF&6G&F7G&7FV7&R&'26&6VF&6W6vR6&7G&֒'V6Rw&VB&VB6&&F6֒'W&vW"&FW"&&&Vǒ6WGFfWB֖v66V7vR

Sample input:_

Gaa gaagaa doodoo widdle doodoo num nums. Yaya gaa gaa goo laalaa ya gaa da doodoo. Laa ya gaagaa goo doodoo. Dada doo laalaa yaya laa laa goo gaagaa laa. Ya dada ya bow-wow gaga dada gaa laa gaga. Gaa ga goo doodoo laalaa. Doo gaagaa gaagaa doodoo uh-oh googoo gaagaa. Laa gaga yum-yum laalaa potty yaya gaagaa da gaa dada. Doodoo ga ya goo laa doodoo gaa doodoo laa gaagaa. Yaya yaya yaya yaya doo. Vroom-vroom gaagaa da doo-doo da. Goo googoo yaya gaga goo ga yucky vroom-vroom doo dada laa ya gaagaa. Da doo laalaa ga doodoo gaga. Laalaa ga doo goo dada. Binkie laalaa ga potty ickle laalaa gaga dada. Dum-dum ga doo.

Sample output:

vvvFFvFFRFFVV2vvvvFFFvvvFFFFFvvvFF&rvrvvFFvvvvvvFFFvvvvFFVvvvvvvVחVGGvvFvFFFFvvFFvFFvvFg&g&vvFFFFvvvvvvvV6g&g&FFFvvFFvFFvvvFvFF&涖RvGG6RvvFFGVGVvF

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1eban380.04062013/09/20 14:33:550B / 22B / 15B
2clock380.03692013/09/20 21:27:100B / 22B / 15B
3leonid380.03522013/09/21 03:39:310B / 22B / 15B
4Histocrat470.03852013/09/20 22:06:240B / 23B / 24B

Perl _

RankUserSizeTimeDateStatistics
1tails310.03592013/09/20 22:47:250B / 18B / 13B
2teebee310.03262013/09/21 01:39:040B / 18B / 13B
3eban340.03322013/09/20 14:27:200B / 19B / 14B
4whio340.03282013/09/21 03:16:340B / 19B / 14B
5corruptio340.03252013/09/21 08:31:290B / 19B / 14B
6brx340.03842013/09/25 02:45:260B / 19B / 14B
7_350.03352013/09/21 04:50:100B / 19B / 14B

Python _

RankUserSizeTimeDateStatistics
1leonid530.11872013/09/21 04:00:470B / 34B / 19B
2hallvabo530.10032013/09/21 05:02:280B / 34B / 19B
3clock530.11112013/09/21 07:19:100B / 34B / 19B
4corruptio540.10242013/09/21 09:16:440B / 33B / 20B
5rolf780.09682013/09/20 23:27:420B / 45B / 27B

PHP _

RankUserSizeTimeDateStatistics
1teebee390.05952013/09/21 19:19:402B / 22B / 15B
2clock390.05892013/09/22 00:48:312B / 23B / 14B
3_nderscore400.07302013/09/25 09:01:220B / 24B / 16B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee750.10642013/09/21 17:43:561B / 40B / 32B
2_nderscore750.10232013/09/22 04:49:321B / 41B / 31B
3Shmiddty750.14442013/09/24 00:18:051B / 40B / 32B
4clock750.12412013/09/24 21:04:491B / 40B / 32B
5madshall950.06272013/09/21 06:45:321B / 58B / 36B

J _

RankUserSizeTimeDateStatistics
1I., S.330.06342013/09/20 22:24:110B / 12B / 21B

K _

RankUserSizeTimeDateStatistics
1teebee340.03302013/09/21 04:12:030B / 18B / 15B

C _

RankUserSizeTimeDateStatistics
1mulder_fbi920.01382013/09/26 19:05:320B / ?B / ?B

Java _

RankUserSizeTimeDateStatistics
1teebee1150.17732013/09/24 15:57:290B / 70B / 41B
2mulder_fbi1370.18982013/09/26 18:06:140B / 81B / 52B

sed _

RankUserSizeTimeDateStatistics
1tails2680.04202013/09/23 03:12:5231B / 79B / 145B

Bash _

RankUserSizeTimeDateStatistics
1eban310.01842013/09/20 19:06:120B / 19B / 7B

GolfScript _

RankUserSizeTimeDateStatistics
1tails230.06652013/09/21 00:44:462B / 11B / 9B
2clock230.06252013/09/25 20:25:252B / 11B / 9B
3whio270.07242013/10/12 07:20:421B / 13B / 13B

FerNANDo _

RankUserSizeTimeDateStatistics
1tails890.29072013/09/21 01:10:070B / 45B / 0B

gas _

RankUserSizeTimeDateStatistics
1mbijak650.01582013/10/16 02:23:1729B / 29B / 5B

Language Ranking_

RankLangUserSizeScore
1GolfScripttails2310000
2Basheban317419
3Perltails317419
4JI., S.336969
5Kteebee346764
6Rubyeban386052
7PHPteebee395897
8Pythonleonid534339
9gasmbijak653538
10JavaScriptteebee753066
11FerNANDotails892584
12Cmulder_fbi922500
13Javateebee1152000
14sedtails268858

return top