Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Designing your own secure encryption cipher
Rating: 5.0 out of 5(5 ratings)
146 students

Designing your own secure encryption cipher

Design a cipher, write an implementation in C and perform cryptanalysis to make it secure. All in one course.
Last updated 8/2026
English

What you'll learn

  • Learn to design your own cipher, and to implement it in the C language
  • Learn to create S-boxes and how to make them secure
  • Learn to perform differential cryptanalysis and secure your cipher from the most powerful analytical attacks
  • Learn to calculate the branch number and to make it as high as possible

Course content

3 sections • 17 lectures • 21h 35m total length
  • Part 17:00

    Design and prototype the XSC256 cipher, a symmetric stream cipher built on expansion, substitution, and compression, using a key to generate numbers and encrypt text sequentially.

  • Part 27:00
  • Part 340:00
  • Part 440:00

    Initialize a 128-bit state, run 64 rounds with K0–K15, then generate key stream per byte using the F function and XOR, indexing 16 S-box boxes by the lowest four bits.

  • Part 540:00
  • Part 627:08

    Design a non-linear cipher using an S-box and a compression box to convert 24 bytes to 16, then generate Fibonacci-based round constants and implement S-box and C box in C.

Requirements

  • You need an intermediate understanding of the C language and a junior high school maths knowledge

Description

Design your own secure encryption cipher
Ever dreamed of designing your own cipher? Free from all backdoors and NSA-crafted vulnerabilities. In this course we'll design our own, secure, 256 bit stream cipher with a 128 bit security level. We'll also write an implementation together, in C, and then perform differential cryptanalysis in order to verify that it is secure against the most powerful analytical attacks.

Prerequisites
To follow along in this project you need an intermediate level understanding of the C language. And a junior high school maths knowledge is more than enough for this course.


-Why learn C from dr Jonas Birch and not from the other ten Udemy instructors?

Experience in the C language. When dr Birch was 18 years old and had been coding C for five years, he was traveling all over Europe, invited to different coding and security conferences, giving lectures about C and security. Since then he has coded C almost every day - for an additional 20 years!

Experience in teaching. Dr Birch has been teaching the C language (live) almost full time the last six years, helping hundreds and hundreds of students learn the mother of all languages - in Linux.

Very soothening voice and amazing sound quality. Dr Birch has a very dark, relaxing voice which is very easy to listen to (a really underestimated feature). He is recording in a professional recording studio with enterprise level microphone and equipment, which makes for a very good listening experience.


Enroll Now or try out the free sample lectures.

Who this course is for:

  • This is for people interested in cyber security and for people wanting to improve their C skills