Envelope Encryption with AWS KMS in Node.js, Part Three: Encrypting and Decrypting Files
The final part of the envelope encryption triptych combines all of our learnings together in two CLI programs — an encryptor and a decryptor.
Displaying posts 1–20 out of 59.
The final part of the envelope encryption triptych combines all of our learnings together in two CLI programs — an encryptor and a decryptor.
This article introduces the AWS KMS API. It covers provisioning credentials with an IAM user, the AWS CLI, and aws-vault, creating a KMS key, and generating Data Encryption Keys using the GenerateDataKey API.
Envelope encryption protects data at rest by encrypting each message with an ephemeral Data Encryption Key (DEK), which is itself encrypted and stored alongside the ciphertext. This article covers the foundational layer: authenticated encryption with AES-GCM using the Web Crypto API in Node.js.
If, for archeological reasons, you need to work with ASP.NET Web Forms in 2025, this post is for you. You will find out how to set up Entity Framework 6 with PostgreSQL and how to create migrations. None of this has been tested in production.
In this post, I briefly explain how to set up integration tests in an ASP.NET Core application, using Entity Framework Core, PostgreSQL, Npgsql, and gRPC.
In this article you will learn how to set up an ASP.NET Core MVC project with a PostgreSQL database using Entity Framework Core and Npgsql.
This post describes the steps necessary to deploy an Astro project to Github Pages.
In this post, I show you how to write a "secure cookie" library that will encrypt and authenticate payloads using the XChaCha20-Poly1305 AEAD, using the Go programming language.
How to set up a Phoenix 1.7 project with Vite.js in place of the default setup, or how to start a Phoenix project if you're not a Tailwind person.
This post describes the steps needed to set up WubiPinyin Chinese IME with Fcitx 4 on FreeBSD 13.2-RELEASE.
函數與做蛋糕有什麼關係?如何定義一些簡單的函數?寫布林函數的時候要注意什麼?
各位讀者如果想要學習網頁開發,遲早會遇到儲存密碼的問題。究竟如何儲存密碼才最好?如何才不會讓「密碼在網路上裸奔」?
此篇為編程的初學者介紹了 Go 程式語言的基本概念,初始化專案的方法,以及宣告變數的兩種語法。
UUIDs are a great choice for primary keys in PostgreSQL. However, not all UUIDs were created equal. This post discusses the pros and cons of different UUID formats and explains how to use newer formats in Ecto for Elixir.
Over the years, I have developed a big collection of modules and macros that I copy and paste in all Elixir projects using Absinthe. It is high time I started sharing my experience with the community. Today I present a simple way to build “generic” types.
In this post I describe why I decided not to use PostgreSQL from Homebrew and how you can use a Dockerized image instead.
Today I removed the mock from the login view and made the form actually call a login mutation upon submission.
Today I implemented a login view with a mocked authentication step.
Exploring integration with Apollo Client for iOS. Discovering MVVM architecture and singleton classes. Storing authentication data inside the Keychain using the Security module, which is part of Foundation.