Skip to main content
yuval.guide
open-menu closeme
blog
courses
topics
ai linux bash python
devops
git terraform ci/cd project
containers kubernetes aws monitoring networking security fundamentals jobs
About
🌐
עברית
github linkedin
  • Crypto on the Command Line, Part 1: Hash Functions

    calendar Oct 12, 2026 · 7 min read · security cryptography linux  ·
    Share on: twitter facebook linkedin copy

    A hash function turns a file of any size into a short digest, and the commands that compute one are already on every Linux machine. This post runs the hashing scenes of the Security Primitives tool by hand: hashing a real document, a few thousand words long; changing one bit of it, and counting how much of the digest …


    Read More
  • Crypto on the Command Line, Part 2: Shared-Key Encryption

    calendar Oct 12, 2026 · 5 min read · security cryptography linux  ·
    Share on: twitter facebook linkedin copy

    AES encrypts with one key that both ends hold: the same 32 bytes lock and unlock. This post runs the shared-key scene of the Security Primitives tool with openssl enc: making the key and the IV, and passing both by hand; encrypting a message and a document, and decrypting them; decrypting with a wrong key; changing a …


    Read More
  • Crypto on the Command Line, Part 3: Key Pairs

    calendar Oct 12, 2026 · 5 min read · security cryptography linux  ·
    Share on: twitter facebook linkedin copy

    A key pair is two numbers tied by a mathematical relation: what one half does, only the other undoes. This post makes Bob's key pair from the Security Primitives tool with openssl: making the private key; looking at the numbers inside it, and checking their relation; computing the public half from it; naming a public …


    Read More
  • Crypto on the Command Line, Part 4: Public-Key Encryption

    calendar Oct 12, 2026 · 5 min read · security cryptography linux  ·
    Share on: twitter facebook linkedin copy

    Anyone holding Bob's public key can encrypt to him, and only his private key decrypts. No secret has to travel first. This post runs the public-key scene of the Security Primitives tool with openssl pkeyutl: encrypting a message to bob.pub and decrypting it with bob.key; trying the public key on the ciphertext, as Eve …


    Read More
  • Crypto on the Command Line, Part 5: Signatures

    calendar Oct 12, 2026 · 6 min read · security cryptography linux  ·
    Share on: twitter facebook linkedin copy

    A signature runs the key pair the other way from encryption: the private half makes it, the public half checks it. This post runs the signature scene of the Security Primitives tool with openssl, one step per command: hashing the message; signing the digest with Bob's private key; reading the digest back out of the …


    Read More
  • Crypto on the Command Line, Part 6: HMAC

    calendar Oct 12, 2026 · 9 min read · security cryptography linux  ·
    Share on: twitter facebook linkedin copy

    An HMAC (hash-based message authentication code) is a hash mixed with a shared key: anyone can hash a message, and only a holder of the key can compute its tag. This post runs the HMAC scene of the Security Primitives tool with openssl, and the tags are the ones the tool shows: what the name means, and where HMAC is …


    Read More
  • Crypto on the Command Line, Part 7: Key Agreement

    calendar Oct 12, 2026 · 6 min read · security cryptography linux  ·
    Share on: twitter facebook linkedin copy

    In a key agreement each end sends a public key share, combines its own private half with the other's public half, and both arrive at the same secret. No key crosses the wire. This post runs the last three scenes of the Security Primitives tool with openssl: how key agreement differs from sending the key wrapped; Alice …


    Read More
  • Security Primitives

    calendar Oct 12, 2026 · 8 min read · security cryptography  ·
    Share on: twitter facebook linkedin copy

    Every secure protocol is a combination of a few primitives: TLS, SSH, a signed JWT and a Git commit all use the same handful. The tool plays them one at a time, with no protocol around them. Each primitive answers an attack the one before it could not stop. The names Alice, Bob, Eve and Mallory Cryptography writes …


    Read More
  • Security Top

    calendar Oct 12, 2026 · 2 min read · security  ·
    Share on: twitter facebook linkedin copy

    The tools that secure protocols are built from, shown with no protocol around them. Where they are used for the web, see Web Security on the networking page. Interactive views Security Primitives — a hash, a shared key, a key pair, a signature, an HMAC and a Diffie-Hellman key agreement, played by Alice and Bob on a …


    Read More
  • Storing Secrets in AWS

    calendar Feb 18, 2024 · 1 min read · aws security  ·
    Share on: twitter facebook linkedin copy

    Parameter Store Parameter Store is a feature of the AWS Systems Manager service. It is a centralized store to manage your configuration data, whether plain-text data such as database strings or secrets such as passwords. This allows you to separate your secrets and configuration data from your code. Parameters can be …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»


Series

WEBSEC 7 OSPF 5 AI-VIEWS 4 K8S-VIEWS 3 CONTAINERS-VIEWS 2

Tags

CI/CD 37 LINUX 33 GITHUB ACTIONS 24 NETWORKING 21 AWS 20 GIT 17 K8S 17 JENKINS 16 DEVOPS 15 BASH 14 AI 13 KUBERNETES 13 TERRAFORM 13 CONTAINERS 11
All Tags
AI13 ASCII1 AWS20 BASH14 BINARY1 BYTES1 CCSA1 CHARACTERS2 CHECKPOINT1 CI/CD37 CONTAINERS11 CRYPTOGRAPHY8 DATA1 DEVOPS15 DOCKER3 EC21 EFS1 EKS1 ENCAPSULATION1 GIT17 GITHUB ACTIONS24 HTTP7 IAM1 IPV41 JENKINS16 JOBS2 JWT1 K8S17 KUBERNETES13 LANGCHAIN6 LINUX33 MONITORING1 NAT1 NETWORKING21 OPENID CONNECT3 OSPF5 PROMETHEUS3 PYTHON11 ROUTING6 SECURITY11 STORAGE1 SUBNETTING1 TCP/IP5 TERRAFORM13 WEB SECURITY7
[A~Z][0~9]
yuval.guide courses
Created by Yuval Shaul Created by Yuval Shaul

Copyright 2023-  CREATED BY YUVAL SHAUL. All Rights Reserved  · Accessibility Statement

to-top