Skip to content

Instantly share code, notes, and snippets.

View dexXxed's full-sized avatar
🐍
Nice to see you here

dexXxed

🐍
Nice to see you here
View GitHub Profile
@dexXxed
dexXxed / katan.c
Created June 18, 2020 19:22 — forked from raullenchai/katan.c
The KATAN/KTANTAN Family of Block Ciphers
#include <stdio.h>
/*
Reference BITSLICED implementations of:
KATAN32, KATAN48, KATAN64, KTANTAN32, KTANTAN48 and KTANTAN64.
Each of the 64 slices corresponds to a distinct instance.
To work with a single instance, use values in {0,1}
(ie, only consider the least significant slice).