Cryptography & Hashing
Hashing primitives (MD5 / SHA-256 / SHA-512 / HMAC / CRC32) with hex and base64 encoding, base encoding (Base32 / Base58 / Base62 / Base64URL) for URL-safe ID transport, MIME-type detection from magic bytes (so an uploaded `.exe` renamed `.jpg` still surfaces), and safe-by-default YAML / shell-exec wrappers. The "I need to sign webhooks, hash passwords, or detect file types" layer.
Projects
Packages (39)
- @philiprehberger/dart-secure-storedart
Unified secure storage with built-in encryption and pluggable backends
- @philiprehberger/dotnet-base-encodingdotnet
Base32, Base62, and Base64URL encoding and decoding — URL-safe, padding-free alternatives to standard Base64.
- @philiprehberger/dotnet-encryption-kitdotnet
AES-256-GCM encryption with key generation, sealed envelopes, PBKDF2 key derivation, streaming, and key rotation.
- @philiprehberger/dotnet-hashingdotnet
Password hashing with PBKDF2-SHA256/SHA512, secure password generation, HMAC, checksums, and consistent hashing.
- @philiprehberger/dotnet-mime-detectdotnet
Detect MIME types from file signatures (magic bytes) and file extensions — covers 200+ common file types.
- @philiprehberger/dotnet-obfuscatordotnet
Reversible integer/long ID obfuscation for URL-safe, non-sequential public IDs.
- @philiprehberger/dotnet-webhook-signaturedotnet
HMAC webhook signing and verification with replay prevention — supports SHA-256, SHA-384, and SHA-512.
- @philiprehberger/go-cryptoutilgo
Common cryptography helpers for Go. Safe defaults, zero dependencies
- @philiprehberger/go-webhook-relay-clientgo
Go SDK + HMAC verifier for the [Webhook Relay API](https://webhook-relay.dcsuniverse.com). Go 1.22+, zero runtime dependencies beyond the standard library.
- @philiprehberger/go-webhook-signaturego
HMAC-SHA256 webhook signature generation and verification with HTTP middleware for Go
- @philiprehberger/kt-hash-kitkotlin
Hashing utilities: MD5, SHA-256, SHA-512, HMAC, CRC32 with hex and base64 encoding.
- @philiprehberger/kt-webhook-signaturekotlin
HMAC webhook signature creation and verification with timing-safe comparison.
- @philiprehberger/php-cryptphp
Secure-by-default encryption with AES-256-GCM and key rotation
- @philiprehberger/php-webhook-relay-clientphp
PHP SDK + HMAC verifier for the Webhook Relay API
- @philiprehberger/webhook-signaturephp
Minimal, framework-agnostic HMAC-SHA256 webhook signature generation and verification with replay attack prevention
- @philiprehberger/py-base-convertpython
Convert numbers between any base (2-62) with human-friendly APIs.
- @philiprehberger/py-hash-utilspython
Simplified hashing helpers for strings, files, and checksums
- @philiprehberger/py-jwt-litepython
Minimal JWT creation and validation with HMAC and RSA signing.
- @philiprehberger/py-webhook-relay-clientpython
Python SDK + HMAC verifier for the Webhook Relay API
- @philiprehberger/py-webhook-signaturepython
HMAC-based webhook signature generation and verification with timing-safe comparison
- @philiprehberger/rb-base-convertruby
Multi-format base encoding with Base32, Base36, Base58, Base62, and Base85 support
- @philiprehberger/rb-base64-urlruby
URL-safe Base64 encoding with optional padding and JSON helpers
- @philiprehberger/rb-checksumruby
Simple file and string checksums with HMAC support and streaming for large files
- @philiprehberger/rb-cryptruby
High-level encryption with AES-256-GCM, key derivation, and secure random
- @philiprehberger/rb-hash-ringruby
Consistent hashing for distributed key distribution
- @philiprehberger/rb-hexruby
Hex encoding, decoding, and dump formatting for binary data
- @philiprehberger/rb-mime-typeruby
MIME type detection from file extensions and magic bytes with 200+ mappings
- @philiprehberger/rb-safe-execruby
Sandboxed expression evaluator with whitelisted operations
- @philiprehberger/rb-safe-yamlruby
Safe YAML loading with restricted types, schema validation, and size limits
- @philiprehberger/rb-signed-payloadruby
Cryptographic signing and verification for JSON payloads
- @philiprehberger/rb-typed-hashruby
Hash with per-key type declarations, coercion, validation, nested schemas, and JSON serialization
- @philiprehberger/rb-webhook-builderruby
Webhook delivery client with HMAC signing, retry, and tracking
- @philiprehberger/rb-webhook-signatureruby
HMAC-SHA256 webhook signing and verification with replay prevention
- @philiprehberger/rs-argon2-easyrust
Dead-simple password hashing with Argon2id — hash() and verify(), nothing more
- @philiprehberger/rs-jwtrust
JSON Web Token encoding, decoding, and validation with HMAC algorithms
- @philiprehberger/rs-mime-detectrust
File type detection from content (magic bytes), file extension, and MIME type mapping
- @philiprehberger/rs-safe-shutdownrust
Graceful shutdown coordination with timeout support for Rust
- @philiprehberger/rs-webhook-signaturerust
HMAC-SHA256 webhook signing and verification for Rust
- @philiprehberger/hash-kittypescript
Simple cross-platform hashing utilities