Skip to main content
yuval.guide
open-menu closeme
blog
courses
topics
ai linux bash python git containers kubernetes aws terraform ci/cd & monitoring networking security characters
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


Series

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

Tags

LINUX 33 NETWORKING 19 GIT 17 K8S 17 JENKINS 16 AWS 15 BASH 14 CI/CD 14 AI 13 CONTAINERS 11 PYTHON 11 SECURITY 11 TERRAFORM 10 KUBERNETES 9
All Tags
AI13 ASCII1 AWS15 BASH14 BINARY1 BYTES1 CCSA1 CHARACTERS2 CHECKPOINT1 CI/CD14 CONTAINERS11 CRYPTOGRAPHY8 DATA1 DEVOPS1 DOCKER1 EC21 EFS1 ENCAPSULATION1 GIT17 HTTP5 IAM1 IPV41 JENKINS16 JWT1 K8S17 KUBERNETES9 LANGCHAIN6 LINUX33 NAT1 NETWORKING19 OSPF5 PROMETHEUS3 PYTHON11 ROUTING6 SECURITY11 STORAGE1 SUBNETTING1 TCP/IP5 TERRAFORM10 WEB SECURITY5
[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