Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

80%
+6 −0
Challenges Beaver Code Decryption

Credit This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code Description The encryption method is as follows: The plaintext is divided ...

6 answers  ·  posted 3y ago by rak1507‭  ·  last activity 2y ago by Shaggy‭

#7: Post edited by user avatar rak1507‭ · 2021-04-20T21:29:47Z (about 3 years ago)
#6: Post edited by user avatar rak1507‭ · 2021-04-18T19:01:30Z (about 3 years ago)
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The encryption method is as follows:
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, **decrypt** it.
  • Valid input formats: ['CTYROP'], 'CTYROP'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The encryption method is as follows:
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, **decrypt** it.
  • Valid input formats: ['CTYROP'], 'CTYROP'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
  • Note: the **encryption** of the last test case is the same as the **decryption**, make sure you're **decrypting**!
#5: Post edited by user avatar rak1507‭ · 2021-04-18T16:15:13Z (about 3 years ago)
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The encryption method is as follows:
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, **decrypt** it.
  • Valid input formats: ['CRYPTO'], 'CRYPTO'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The encryption method is as follows:
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, **decrypt** it.
  • Valid input formats: ['CTYROP'], 'CTYROP'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
#4: Post edited by user avatar rak1507‭ · 2021-04-18T16:02:57Z (about 3 years ago)
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The encryption method is as follows:
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, decrypt it.
  • Valid input formats: ['CRYPTO'], 'CRYPTO'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The encryption method is as follows:
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, **decrypt** it.
  • Valid input formats: ['CRYPTO'], 'CRYPTO'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
#3: Post edited by user avatar rak1507‭ · 2021-04-18T16:02:29Z (about 3 years ago)
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, decrypt it.
  • Valid input formats: ['CRYPTO'], 'CRYPTO'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The encryption method is as follows:
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, decrypt it.
  • Valid input formats: ['CRYPTO'], 'CRYPTO'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
#2: Post edited by user avatar rak1507‭ · 2021-04-18T15:47:53Z (about 3 years ago)
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, decrypt it.
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
  • ## Credit
  • This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code
  • ## Description
  • The plaintext is divided into two halves, odd positions and even positions.
  • Example: `'CRYPTO' -> ['CYT','RPO']`
  • This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.
  • `'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`
  • ## Challenge
  • Given a string encrypted with this method, decrypt it.
  • Valid input formats: ['CRYPTO'], 'CRYPTO'
  • ## Test cases
  • ```
  • CTYROP -> CRYPTO
  • EOYCTNNPRI -> ENCRYPTION
  • RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
  • ```
#1: Initial revision by user avatar rak1507‭ · 2021-04-18T14:07:23Z (about 3 years ago)
Beaver Code Decryption
## Credit

This challenge is taken with permission from https://www.mysterytwisterc3.org/en/challenges/level-1/beaver-code

## Description

The plaintext is divided into two halves, odd positions and even positions.

Example: `'CRYPTO' -> ['CYT','RPO']`

This is then applied recursively to both halves, until each part is two letters or less. The parts are then merged.

`'CRYPTO' -> ['CYT','RPO'] -> [['CT','Y'], ['RO','P']] -> 'CTYROP'`

## Challenge

Given a string encrypted with this method, decrypt it.

## Test cases

```
CTYROP -> CRYPTO
EOYCTNNPRI -> ENCRYPTION
RUOENFSEAFMRDHT -> RANDOMSTUFFHERE
```