Code Explainers

Code explainers tagged #constant-time

rust
use hmac::{Hmac, Mac};
use sha2::Sha256;
use subtle::ConstantTimeEq;
 

HMAC signing and constant-time verify in Rust

hmac cryptography constant-time
Intermediate 7 steps
php
<?php
 
namespace App\Security;
 

Secure password hashing with Argon2id in PHP

password-hashing argon2id timing-attacks
Intermediate 8 steps