Skip to content

vedadux/configurable-LED

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Configurable LED Block Cipher

LED Specification

Purpose

This implementation is meant for security research purposes only, and should not be used in production. It supports both encryption and decryption.

Build

To build Configurable LED you will need:

  • CMake version 3.7.3 or newer
  • a C11 compliant C compiler

The project enforces out of source builds, so you can build it as follows:

mkdir build && cd build;
cmake .. && make;

Usage

  • 64-bit key:
    • ./led-64 -e -x "01234567 89abcdef" -k "01234567 89abcdef"
      Will produce ciphertext: fdd6fb98 45f81456
    • ./led-64 -d -x "fdd6fb98 45f81456" -k "01234567 89abcdef"
      Will produce plaintext: 01234567 89abcdef
  • 128-bit key:
    • ./led-128 -e -x "01234567 89abcdef" -k "01234567 89abcdef 01234567 89abcdef"
      Will produce ciphertext: 3131c231 205c3664
    • ./led-128 -d -x "3131c231 205c3664" -k "01234567 89abcdef 01234567 89abcdef"
      Will produce plaintext: 01234567 89abcdef

Releases

No releases published

Packages

No packages published

Languages

  • C 94.6%
  • CMake 4.8%
  • Shell 0.6%