Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

SBoxGenerator

SBox Generator

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

SBoxGenerator

SBox Generator

I'm currently embracing the glorious life of unemployment, where I have an abundance of time to resurrect all those personal projects that have been gathering dust over the years. Some of these projects may be more unrealistic than a unicorn riding a spaceship, but there are also quite a few gems that bring me immense joy. In my quest for a relatively decent encryption solution, I stumbled upon the fascinating realm of S-boxes*. Let me tell you, finding a descent S-box is like searching for a needle in a haystack. After some rigorous research, I unearthed a paper** that intrigued me, inspiring me to take on the challenge of building my own S-box generator.

The Delphi code you'll find here showcases the implementation of the paper's two algorithms, accompanied by a dash of magic in the form of Luis Villasenor's Fast Walsh-Hadamard Transform*** for generating mind-bending nonlinearity. Prepare to be amazed as you embark on this thrilling cryptographic journey!

[1] https://en.wikipedia.org/wiki/S-box

[2] "Efficient Dynamic S-Box Generation Using Linear Trigonometric Transformation for Security Applications" paper (10.1109/ACCESS.2021.3095618) published on July 8, 2021, with the brilliant minds at Texas A&M University-San Antonio providing their support. https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9477572

[3] https://github.com/lvillasen

Enjoy the adventure!