Web3 Developer·Aug 25, 2023An Example ECDH Key Exchange with HKDF and Authenticated Encryption in RustI recently created an example project which implements an ephemeral key exchange between a client and server over TCP. The program uses the…
Web3 Developer·Aug 12, 2023Group Theory Continued — Rings & FieldsIn my previous post I introduced the idea of a group, which is an abstract mathematical concept that is defined as a set with a binary…
Web3 Developer·Jul 31, 2023Mathematics for Cryptography — Introduction to Group TheoryI’m planning to do a set of posts on the mathematics used in cryptography and so I will be covering topics such as group theory, number…
Web3 Developer·Jun 12, 2023Authenticated Encryption in Rust using RingAuthenticated Encryption with Associated Data (AEAD) is a modern cryptography primitive that enables secure encryption and decryption of…
Web3 Developer·May 31, 2023Ring by Example — Sample Code CheatsheetI have been writing about the Ring cryptography library for a while now and so in this post I am sharing a resource which I think will be…
Web3 Developer·May 26, 2023Signing & Verifying Messages with Digital Signatures in Rust using RingThe Ring cryptography library supports signing and verifying the integrity of messages using digital signatures. In this post I introduce…
Web3 Developer·May 17, 2023ECDH Key Agreement in Rust using RingIn this post I show you how to implement an ECDH key exchange using the agreement module of the Rust cryptography library Ring. We will go…
Web3 Developer·May 10, 2023Introducing Fluent Hash — A Rust Hashing Library with a Fluent Interfacefluent-hash is a new open source Rust library which I recently published to crates.io (see here). I wanted to try creating and publishing…
Web3 Developer·Apr 27, 2023Password Hashing with PBKDF2 in Rust using RingThe Ring cryptography library provides an implementation of PBKDF2, a standardised key derivation function that can be used to securely…
Web3 Developer·Apr 24, 2023Deriving Cryptographic Keys with HKDF in Rust using RingRing is a popular Rust cryptography library which has support for generating cryptographic keys from a single input key using HKDF, the…