Skip to content

reshsix/libmaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evil Maid of Babylon

"And the woman was dressed in purple and scarlet... having a golden cup full of abominations"

🏛️ Overview

Version: 1.4 alpha

This is a cryptography library for those who are not afraid to live

Written from scratch by a single person, it embodies the spirit of rolling your own cryptography

There's no certifications, money going to corporations, or experts bribed in the process of making it

🔥 Ritual

Requirements

  • A C99 compiler

Forging the Seal

Files are forged in build

make
make test

Binding the System

Files are placed in /usr/local

sudo make install
sudo ldconfig

Wielding

The library can be wielded with -lmaid, and a command-line tool maid is available

📜 The Codex

Category Algorithms
Type aliases -------------------------
Memory utils Base16, Base32, Base64
Multiprecision -------------------------
Block ciphers AES-ECB, AES-CTR
Stream ciphers Chacha20
MACs Poly1305, HMAC, BLAKE2
AEADs AES-GCM, Chacha20Poly1305
CSPRNGs CTR-DRBG-AES
Hash functions SHA-1, SHA-2, BLAKE2
Public-key primitives RSA
Digital signatures PKCS#1 (v1.5)
Key exchange Diffie-Hellman
Serialization PEM, PKCS#1, PKCS#8
Key generation RSA
Password hashing PBKDF2