Skip to content

Instantly share code, notes, and snippets.

View nwaringa's full-sized avatar

Nick Waringa nwaringa

View GitHub Profile
@alexedwards
alexedwards / main.go
Last active March 11, 2024 10:20
Password hashing and verification with Argon2id
package main
import (
"crypto/rand"
"crypto/subtle"
"encoding/base64"
"errors"
"fmt"
"log"
"strings"