Safeguard
Tag

cryptography

Safeguard articles tagged "cryptography" — guides, analysis, and best practices for software supply chain and application security.

67 articles

AppSec

Encryption and Decryption in Python: A Practical Guide

Encryption in Python is easy to get working and surprisingly easy to get wrong — here's how to do symmetric and asymmetric encryption correctly using the cryptography library instead of rolling your own.

Jun 19, 20266 min read
DevSecOps

Python itsdangerous: Signing Data Safely and Avoiding Key Leaks

The Python itsdangerous library signs data so tampering is detectable. Getting it right depends on how you handle the secret key and key rotation.

Jun 15, 20266 min read
Threat Intelligence

What Is Post-Quantum Cryptography (for software supply ch...

Quantum computers will eventually break RSA and ECDSA. Here's what NIST's 2024 PQC standards, CNSA 2.0 deadlines, and "harvest now, decrypt later" mean for signed software supply chains.

Jun 2, 20267 min read
Application Security

Symmetric vs asymmetric encryption: practical Python examples

Symmetric vs asymmetric encryption explained with working Python code: AES-256-GCM, RSA-OAEP, hybrid encryption, and the mistakes that cause real breaches.

May 21, 20267 min read
DevSecOps

node-jose Security: Using Cisco's JOSE Library Safely

node-jose is Cisco's JavaScript implementation of the JOSE standards for signing and encrypting tokens. Here is the CVE-2017-16007 invalid-curve flaw and how to use JWE and JWS defensively.

May 14, 20266 min read
Open Source

npm crypto-js: A Security Review and Safe Usage Guide

The npm crypto-js library is widely used but has a documented cryptographic weakness before 4.2.0. Here is what to check and how to use it safely.

May 5, 20265 min read
AppSec

Encryption Algorithms in Java: A Practical Overview

Java ships a wide menu of encryption algorithms through its Java Cryptography Architecture, but picking the wrong mode or a deprecated cipher is one of the most common security findings in Java codebases.

May 5, 20266 min read
Security

CVE-2022-45146: Bouncy Castle FIPS Use-After-Free Explained

CVE-2022-45146 is a use-after-free issue in Bouncy Castle's FIPS Java API that surfaces on Java 13 and later. Here is who it affects and how to remediate.

May 1, 20265 min read
Concepts

What Is a Nonce? The Number Used Once in Cryptography

A nonce is a value used a single time to keep cryptographic operations fresh and stop attackers from replaying old messages. Small idea, outsized importance.

Apr 22, 20266 min read
Open Source

node-forge Vulnerabilities: What Happened and What to Use Now

node-forge shipped signature-forgery and prototype-pollution fixes over the years, and its release cadence has gone quiet. Here is what each node-forge vulnerability meant and what to reach for today.

Apr 5, 20266 min read
Concepts

What Is Key Management? Protecting the Keys That Protect Everything

Key management is the discipline of generating, storing, rotating, and retiring cryptographic keys safely. Strong encryption is only as good as the way its keys are handled.

Mar 30, 20266 min read
Security

The Main Types of Asymmetric Encryption, Explained

The types of asymmetric encryption come down to a few families built on hard math problems: RSA, elliptic curve, Diffie-Hellman, and the post-quantum newcomers. Here is how each works and when to use it.

Mar 25, 20266 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

cryptography (Page 3) — Safeguard Blog