Skip to main content
yuval.guide
open-menu closeme
blog
courses
topics
ai linux bash python
devops
git terraform ci/cd devops for ai systems project
containers kubernetes aws monitoring ccna 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


Series

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

Tags

NETWORKING 82 AWS 60 CCNA 56 CISCO 55 CI/CD 38 LINUX 33 AI 32 GITHUB ACTIONS 26 PACKET TRACER 24 SECURITY 23 GIT 17 K8S 17 JENKINS 16 LLMOPS 16
All Tags
AGENTS1 AI32 ANALYTICS2 ANSIBLE2 ASCII1 AUTOMATION4 AUTOSCALING2 AWS60 BASH14 BINARY1 BYTES1 CCNA56 CCSA1 CERTIFICATION2 CHARACTERS2 CHECKPOINT1 CI/CD38 CISCO55 CLOUDFORMATION2 CLOUDFRONT2 CLOUDWATCH2 CONTAINERS15 COST2 CRYPTOGRAPHY8 DATA1 DATABASES3 DEVOPS15 DISASTER RECOVERY2 DNS2 DOCKER3 DYNAMODB2 EBS2 EC25 ECS2 EFS3 EKS2 ELB2 ENCAPSULATION1 EVALS1 EVENTBRIDGE1 GIT17 GITHUB ACTIONS26 GRAFANA1 HTTP8 IAM6 IPV42 IPV62 JENKINS16 JOBS2 JWT1 K8S17 KMS2 KUBERNETES14 LAMBDA2 LANGCHAIN6 LINUX33 LLMOPS16 MACHINE-LEARNING1 MIGRATION1 MONITORING4 NAT3 NETWORKING82 OBSERVABILITY2 OPENID CONNECT3 OPENTELEMETRY2 OSPF7 PACKET TRACER24 PROMETHEUS4 PYTHON11 RAG1 RDS2 ROUTE532 ROUTING6 S32 SECURITY23 SERVERLESS2 SNS2 SQS2 SSH2 STORAGE3 SUBNETTING4 TCP/IP6 TERRAFORM13 TESTING1 VLAN1 VPC4 VPN2 WAF1 WEB SECURITY8 WIRELESS2 WIRESHARK2
[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