Category Archives: encryption

Emulation of AESENC and AESENCLAST instructions in x86 assembly

Introduction aesenc and aesenclast are AES-NI instructions impelemented on the x86 architecture. Recently, a well known cryptographer J.P Aumasson published code to emulate these instructions in C, which would be very useful for emulators, and virtual machines in general. The … Continue reading

Posted in assembly, cryptography, encryption, security | Tagged , , , , , , , | Leave a comment

WanaCryptor File Encryption and Decryption

Introduction This is a quick post about the WanaCryptor ransomware wreaking havoc on many networks across the world this weekend. With all the news coverage, most of you already know the trouble caused by it. Once executed on a system, … Continue reading

Posted in cryptography, encryption, malware, public key exchange, security, windows | Tagged , , , , , , , , | 8 Comments

SPEKE (Simple Password Exponential Key Exchange) using OpenSSL

Introduction David P. Jablon published a paper in 1996 called Strong Password-Only Authenticated Key Exchange where he describes a new protocol based on Diffie-Hellman-Merkle key exchange. Diffie-Hellman key exchange is susceptible to MITM attack but with just Modular Multiplication and … Continue reading

Posted in bspeke, cryptography, diffie hellman merkle, encryption, key exchange protocol, oakley groups, openssl, prime numbers, programming, public key exchange, security, speke, wspeke | Leave a comment