Categories

Security

Libraries that are used to help make your application more secure.

Repos

164

Stars

117,248

30 days

+1,729

FiloSottile

A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.

Created May 2019

age-encryption built-at-rc
Total 24,412
30 days +439
google

Vulnerability scanner written in Go which uses the data provided by https://osv.dev

Created Nov 2022

scanner security-audit security-tools vulnerability-scanner
Total 11,581
30 days +376
go-acme

Let's Encrypt/ACME client and library written in Go

Created Jun 2015

acme acme-client certificate dns letsencrypt
Total 10,052
30 days +105
caddyserver

Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal

Created Dec 2018

acme automatic-https go golang https
Total 5,621
30 days +14
Ullaakut

Cameradar hacks its way into RTSP videosurveillance cameras

Created May 2016

cameras cctv hacking hacking-tool infosec
Total 5,374
30 days +112
corazawaf

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library

Created May 2020

coraza coraza-waf coreruleset go golang
Total 4,044
30 days +134
awnumar

Software sandbox for storage of sensitive information in memory.

Created Apr 2017

crypto cryptography go golang memory
Total 2,771
30 days +9
unrolled

HTTP middleware for Go that facilitates some quick security wins.

Created May 2014

go golang middleware security
Total 2,360
30 days +2
cossacklabs

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL.

Created Nov 2016

crypto cryptography database-proxy databases django
Total 1,504
30 days +11
safedep

Protect against malicious open source packages 🤖

Created Dec 2022

devsecops golang hacktoberfest npm policy-as-code
Total 1,128
30 days +12
fabriziosalmi

Caddy WAF (Regex Rules, IP and DNS filtering, Rate Limiting, GeoIP, Tor, Anomaly Detection)

Created Jan 2025

caddy caddy-module caddy-plugin caddy-security caddyserver
Total 886
30 days +10
anatol

Fast and secure initramfs generator

Created Dec 2020

boot initramfs linux
Total 694
30 days +10
kevinburke

Pure Go implementation of the NaCL set of API's

Created Jul 2017

curve25519 golang nacl secretbox security
Total 553
30 days +2
hillu

Go bindings for YARA

Created Jan 2015

cgo go golang hacktoberfest yara
Total 390
30 days +0
pjebs

ID hashing and Obfuscation using Knuth's Algorithm

Created May 2015

Total 368
30 days +0
prashantgupta24

A rest application to update firewalld rules on a linux server

Created Jun 2020

firewalld firewalld-configuration firewalld-rest firewalld-rule golang
Total 342
30 days +1
number571

🔐 Library for developing secure, decentralized, anonymous and quantum-resistant networks in Go language

Created Oct 2019

anonymity anonymous cryptography decentralized e2e-encryption
Total 328
30 days +1
jaredfolkins

BadActor.org An in-memory application driven jailer written in Go

Created Dec 2014

Total 327
30 days +0
hlandau

🔑 Idiotproof golang password validation library inspired by Python's passlib

Created Dec 2014

Total 289
30 days +0
elithrar

A convenience library for generating, comparing and inspecting password hashes using the scrypt KDF in Go 🔑

Created Apr 2015

go hash password password-hash scrypt
Total 203
30 days +0
calpa

Go implementation of noisy HTTP/DNS traffic generator

Created Mar 2025

Total 183
30 days +2
pii-shield

Zero-code K8s sidecar for log sanitization. Detects secrets via Entropy Analysis, preserves JSON integrity, and redacts PII deterministically. 🛡️

Created Jan 2026

devsecops entropy gdpr golang json
Total 179
30 days +1
anatol

Pure Golang library to manage LUKS partitions

Created Aug 2020

Total 100
30 days +1
djadmin

Audit and fix your Mac's security in one command. No agent, no signup, open source.

Created May 2026

audit claude claude-code claude-code-plugin cli
Total 82
30 days +2
zitadel

Package passwap provides a unified implementation between different password hashing algorithms. It allows for easy swapping between algorithms, using the same API for all of them.

Created Mar 2023

argon2 bcrypt go hashing md5-crypt
Total 78
30 days +0
esnet

Solve ACME http-01 challenge without opening port 80 to the internet, obtain certs from an external certificate authority.

Created Dec 2025

acme acme-server certificates go pki
Total 75
30 days +7
dwin

A probably paranoid Golang utility library for securely hashing and encrypting passwords based on the Dropbox method. This implementation uses Blake2b, Scrypt and XSalsa20-Poly1305 (via NaCl SecretBox) to create secure password hashes that are also encrypted using a master passphrase.

Created Oct 2017

credentials golang golang-library master-passphrase nacl-secretbox
Total 61
30 days +0
m1

Password generator written in Golang, usable as a CLI or Go library. Provides options for human readable and accessibility friendly passwords.

Created Nov 2019

go go-library golang golang-library hacktoberfest
Total 57
30 days +0
tg123

Apache htpasswd Parser for Go.

Created Jun 2015

golang htpasswd
Total 50
30 days +1

More

Top 100 of 135

OWASP

Golang Secure Coding Practices guide

Created Apr 2017

appsec golang
Total 5,309
30 days +10
golang

[mirror] Go supplementary cryptography libraries

Created Dec 2014

Total 3,360
30 days +10
tjfoc

GM SM2/3/4 library based on Golang (基于Go语言的国密SM2/SM3/SM4算法库)

Created Aug 2017

gm golang sm2 sm3 sm4
Total 1,965
30 days +5
gtank

copy & paste-friendly golang crypto

Created Sep 2015

Total 1,803
30 days +0
cloudflare

CIRCL: Cloudflare Interoperable Reusable Cryptographic Library

Created Sep 2018

circl cryptography csidh dilithium ed25519
Total 1,749
30 days +20
tuneinsight

A library for lattice-based multiparty homomorphic encryption in Go

Created Aug 2019

homomorphic-encryption lattice-based-crypto secure-multi-party-computation
Total 1,460
30 days +4
ProtonMail

A high-level OpenPGP library

Created May 2019

Total 1,256
30 days +5
dromara

A simple, semantic and developer-friendly crypto package for golang

Created Aug 2021

3des aes base100 base16 base32
Total 1,106
30 days +1
keys-pub

Cryptographic key management is hard

Created Dec 2019

cryptography decrypt ed25519 encrypt golang
Total 916
30 days +3
wumansgy

go语言封装的各种对称加密和非对称加密,可以直接使用,包括3重DES,AES的CBC和CTR模式,还有RSA非对称加密,ECC椭圆曲线的加密和数字签名

Created Nov 2018

3des aes crypt des ecc
Total 773
30 days +0
Continuum-AI-Corp

Tiny post-quantum encryption for sensitive data. Write-only by design. ML-KEM-768 + X25519 + AES-256-GCM. Please break it.

Created Sep 2026

orcarouter quantum quantum-algorithms quantum-computing quantum-encryption
Total 769
30 days +299
dedis

Advanced crypto library for the Go language

Created Oct 2014

crypto-library elliptic-curves go
Total 704
30 days +0
drand

Timelock Encryption made practical. The Go `tlock` library and the `tle` cmd line tool home to encrypt towards the future.

Created Jun 2022

age-encryption cryptography encryption-decryption hacktoberfest timelock
Total 695
30 days +8
keybase

Golang keychain package for iOS and macOS

Created Sep 2015

golang ios keychain macos
Total 674
30 days +2
99designs

Go library providing a uniform interface across a range of secure credential stores

Created Aug 2017

Total 660
30 days +4
edgelesssys

EGo is an open-source SDK that enables you to develop your own confidential apps in the Go programming language.

Created Dec 2020

confidential-computing confidential-microservices enclave golang intel-sgx
Total 602
30 days +5
sourcenetwork

Decentralized Secrets Management Engine powered by threshold cryptography and proxy re-encryption

Created Feb 2023

cryptography decentralized dkg proxy-re-encryption secrets
Total 588
30 days +1
emmansun

ShangMi (SM) cipher suites for Go (Go语言商用密码软件)

Created Dec 2020

aes-ni cfca cryptography golang ml-dsa
Total 576
30 days +15
sigstore

Common go library shared across sigstore services and clients

Created Feb 2021

cosign go golang security sigstore
Total 541
30 days +3
cloudflare

Go implementation of the keyless protocol

Created Jun 2015

hsm pkcs11 pki tls
Total 519
30 days +8
spacemonkeygo

OpenSSL bindings for Go

Created May 2014

go openssl openssl-bindings ssl
Total 484
30 days +0
miekg

pkcs11 wrapper for Go

Created Sep 2012

c go hsm pkcs11 softhsm
Total 451
30 days +0
ProtonMail

Fork of go/x/crypto, providing an up-to-date OpenPGP implementation

Created Aug 2016

Total 427
30 days +4
getamis

Hierarchical Threshold Signature Scheme

Created Oct 2019

2-party-bip32 binary-quadratic-form bip340 class-groups cryptography
Total 407
30 days +3
minio

Go implementation of the Data At Rest Encryption (DARE) format.

Created Aug 2017

ciphertext encrypted-data encryption encryption-library
Total 394
30 days +1
taurushq-io

Implementation of protocols for threshold signatures

Created Feb 2021

cryptography elliptic-curves multi-party-computation signature
Total 393
30 days +0
landlock-lsm

A Go library for the Linux Landlock sandboxing feature

Created Jun 2021

landlock linux sandboxing security
Total 376
30 days +12
deatil

A go encrypt pkg(RSA/SM2/ECDSA/EC-GDSA/Gost/ElGamal/AES/DES/TripleDes/SM4/Tea/Twofish)

Created Apr 2022

aes bks crypto des dsa
Total 348
30 days +3
ZZMarquis

Go语言:实现国密SM2/SM3/SM4算法;实现SM2 X509v3证书签发和解析

Created Aug 2018

Total 326
30 days +0
seccomp

The libseccomp golang bindings repository

Created Jun 2015

bpf libseccomp seccomp
Total 318
30 days +3
go-think

A functions wrapping of OpenSSL library for symmetric and asymmetric encryption and decryption (AES, DES, 3DES, RSA, GCM), digital signatures, and SHA/HMAC, 100% compatible with PHP, Java, Python, and Node.js.

Created Apr 2019

aes aes-256 aes-cbc cbc crypto
Total 311
30 days +4
dchest

Go implementation of SipHash-2-4, a fast short-input PRF created by Jean-Philippe Aumasson and Daniel J. Bernstein.

Created Jun 2012

Total 295
30 days +0
tink-crypto

Go implementation of Tink

Created May 2022

crypto cryptography go golang security
Total 291
30 days +10
eclipse-keypont

Implement crypto.Signer and crypto.Decrypter for HSM-protected keys via PKCS#11

Created Mar 2017

cryptography golang ml-kem pkcs11 pqc
Total 269
30 days +1
OpenWhiteBox

Implementations of white-box AES constructions and their cryptanalyses.

Created Oct 2015

Total 226
30 days +0
1Password

1Password's Strong Password Generator - Go package

Created Nov 2018

golang-package password-generator
Total 214
30 days +0
mimoo

a protocol to encrypt communications and a cryptographic library based on Disco

Created Nov 2017

crypto cryptographic-library disco keccak libdisco
Total 208
30 days +0
Dentrax

Split and distribute your private keys securely amongst untrusted network

Created May 2021

public-private-key secret-management shamir shamir-secret-sharing split
Total 199
30 days +0
fentec-project

Functional encryption library in Go

Created Aug 2018

Total 197
30 days +0
FiloSottile

A Go implementation of the quantum-resistant key encapsulation method ML-KEM (formerly known as Kyber).

Created Nov 2023

cryptography kyber ml-kem pqc
Total 196
30 days +1
FiloSottile

filippo.io/edwards25519 — A safer, faster, and more powerful low-level edwards25519 Go implementation.

Created Sep 2020

Total 189
30 days +1
wenzhenxi

Golang RSA Encryption Library , Base64 support and uniform string type , Support for signing operations using RSA Support for RSAWithSHA1 and RSAWithSHA256

Created Feb 2018

Total 177
30 days +0
simonfrey

Simple Shamir's Secret Sharing (s4) - A go package giving a easy to use interface for the shamir's secret sharing algorithm

Created Jun 2020

hacktoberfest
Total 162
30 days +0
farmerx

支持rsa公钥加密私钥解密;支持rsa公钥解密私钥加密。

Created Dec 2016

Total 161
30 days +0
kisom

Example source code for the Practical Crypto with Go book.

Created Feb 2013

Total 156
30 days +0
SSSaaS

Shamir's Secret Sharing Algorithm - helper cryptography module for Golang

Created Oct 2015

Total 151
30 days +0
GoKillers

A complete overhaul of the Golang wrapper for libsodium

Created Jun 2015

crypto cryptography go golang library
Total 139
30 days +0
cloudflarearchive

Supersingular Isogeny Diffie-Hellman in Go

Created Jul 2017

Total 138
30 days +0
markkurossi

Secure Multi-Party Computation (MPC) framework written in Go. Implements two-party garbled circuits (Yao) and the Goldreich-Micali-Wigderson (GMW) protocol for secure computation.

Created Mar 2019

aes-128-cbc aes-128-gcm ed25519 garbled-circuit gmw
Total 134
30 days +0
cloudflare

Package bn256 implements a particular bilinear group.

Created Sep 2017

bn256 cryptography pairing
Total 133
30 days +0
ggwhite

Go library for masking sensitive data via struct tags — passwords, emails, IDs, credit cards, and more

Created Apr 2019

data-protection go go-library golang masking
Total 131
30 days +1
status-im

The Double Ratchet Algorithm implementation in Go

Created Jun 2017

cryptographic-algorithms golang golang-library
Total 131
30 days +0
xxtea

XXTEA encryption algorithm library for Golang.

Created Feb 2014

Total 130
30 days +0
symbolicsoft

Go implementation of ML-KEM.

Created Jul 2020

fips-203 go kyber ml-kem ml-kem-1024
Total 129
30 days +2
kiprotect

A privacy and security engineering toolkit: Discover, understand, pseudonymize, anonymize, encrypt and securely share sensitive and personal data: Privacy and security as code.

Created Jul 2020

anonymization anonymize ccpa compliance consent-management
Total 129
30 days +0
open-quantum-safe

Go bindings for liboqs

Created Oct 2019

cryptography go golang post-quantum-cryptography quantum-computing
Total 128
30 days +2
Luzifer

go-openssl is a small library wrapping the crypto/aes functions in a way the output is compatible to OpenSSL

Created Jul 2015

golang library openssl
Total 127
30 days +0
ovh

Golang symmetric encryption library

Created Apr 2018

aead aes aes-gcm chacha20-poly1305 cryptography
Total 126
30 days +0
fullsailor

Implements a subset of PKCS#7/Crytpographic Message Syntax (rfc2315, rfc5652)

Created Apr 2015

Total 126
30 days +0
liamylian

OpenSSL RSA Encryption, Decryption, and Key Generation. Java, Php, GoLang Support, Large Data Support.

Created Sep 2017

Total 125
30 days +0
ecies
ecies / go

Elliptic Curve Integrated Encryption Scheme for secp256k1 in Golang

Created Aug 2019

bitcoin crypto cryptocurrency cryptography ecies
Total 121
30 days +1
jedisct1

Minisign verification library for Golang.

Created Jan 2018

crypto cryptography ed25519 minisign signatures
Total 119
30 days +0
olastor

Age plugin to encrypt files with fido2 tokens using the hmac-secret extension and non-discoverable credentials.

Created Sep 2023

age age-encryption age-plugin fido2 plugin
Total 116
30 days +6
doyensec

A Server Side Request Forgery (SSRF) protection library. Made with 🖤 by Doyensec LLC.

Created Dec 2022

appsec gosec ssrf
Total 116
30 days +0
google

Hardware Backed Keys and Certificate Store Management on Windows

Created Nov 2017

Total 116
30 days +0
thedonutfactory

🐿️ A pure golang implementation of TFHE Fully Homomorphic Encryption Scheme

Created Jul 2021

cloud-computing cryptography homomorphic-encryption lattice-based-crypto
Total 110
30 days +1
gtank

Implements ristretto255, a fast prime-order group.

Created May 2017

Total 110
30 days +0
soatok

FOSS Resists Extralegal Executive Overreaching Nations - Threshold digital signature library in Go

Created Aug 2025

code-signing command-line-tool distributed-key-generation ed25519 frost
Total 107
30 days +1
andreburgaud

Go (golang) ECB mode of encryption and padding.

Created Sep 2016

aes blowfish crypto ecb ecb-mode
Total 107
30 days +0
veorq

IP-format-preserving encryption, with a dedicated 4-byte cipher

Created Mar 2015

Total 107
30 days +0
ahenzinger

The reference implementation of SimplePIR and DoublePIR, accompanying the paper "One Server for the Price of Two: Simple and Fast Single-Server Private Information Retrieval" (USENIX Security 2023).

Created Jul 2022

cryptography
Total 103
30 days +0
tam7t

golang hpkp client library

Created Jun 2016

golang-library hpkp pinning tls
Total 103
30 days +0
elastic

Go library for installing a seccomp BPF system call filter.

Created Apr 2018

golang seccomp seccomp-bpf-policies
Total 102
30 days +1
xordataexchange

Easy and secure encryption in Go using Hashicorp's Vault

Created Dec 2015

Total 96
30 days +0
sigstore

Go library for Sigstore signing and verification

Created Sep 2023

go golang sigstore
Total 95
30 days +0
mimoo

Implementation of KangarooTwelve in Go

Created Jun 2017

hash kangarootwelve keccak permutation-based sha-3
Total 95
30 days +0
letsencrypt

An interface to PKCS#11 devices that satisfies the crypto.Signer interface

Created Feb 2016

Total 94
30 days +0
dchest

Go implementation of BLAKE2 (b) cryptographic hash function (optimized for 64-bit platforms).

Created Dec 2012

Total 93
30 days +0
bwesterb

Pure Go implementation of the Ristretto prime-order group over Edwards25519

Created Jun 2018

curve25519 edwards25519 elligator golang prime-order-group
Total 90
30 days +0
SherLzp

Proxy Re-Encryption go implementation

Created Feb 2020

Total 87
30 days +0
digitorus

Time-Stamp Protocol (TSP) implementation for Go as specified in RFC3161

Created Apr 2017

go golang pki rfc3161 timestamp
Total 84
30 days +0
jamesruan

An wrapper for libsodium in golang

Created Apr 2016

crypto go golang libsodium
Total 84
30 days +0
oasisprotocol

High-performance Curve25519/ristretto255 for Go.

Created Jan 2021

batch-verification cryptography cryptography-algorithms curve25519 ed25519
Total 80
30 days +0
actuallyachraf

Implementing Homomorphic Encryption in Golang 🌱

Created Aug 2017

golang homomorphic-encryption paillier-cryptosystem
Total 79
30 days +0
Yawning

Golang "Post-quantum key exchange – a new hope." (Mirror of https://gitlab.com/yawning/newhope)

Created Nov 2015

Total 79
30 days +0
GmSSL

Go binding of the GmSSL library

Created Sep 2023

Total 77
30 days +1
taurushq-io

Implementation of the FROST protocol for threshold Ed25519 signing

Created Nov 2020

cryptography multi-party-computation signature
Total 77
30 days +0
corvus-ch

Shamir's Secret Sharing in Golang

Created Oct 2017

Total 77
30 days +0
arnaucube

Crypto algorithms from scratch in Go. Learning purposes only. ECC, BN128 pairing, Paillier, RSA, Homomorphic computation, ElGamal, Schnorr, ECDSA, BLS, ...

Created Jul 2018

Total 76
30 days +1
jsipprell

A Go-lang interface to the linux kernel keyring api

Created Oct 2015

Total 76
30 days +0
globalsign

An implementation of the Enrollment over Secure Transport (EST) certificate enrollment protocol

Created May 2020

est hsm pki rfc7030 tpm
Total 70
30 days +0
posener

Implementation of Shamir's Secret Sharing algorithm.

Created Jan 2020

algorithms cryptography go golang secret-sharing
Total 69
30 days +0
chentaihan

aes-cbc加密解密

Created Oct 2018

aes aes-128 aes-256 aes-cbc
Total 69
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.