SShortSingh.
Back to feed

Spring Boot Field-Level Encryption: How AES-256-GCM Protects Sensitive Data

0
·12 views

The article explains why insurance applications storing driver details such as date of birth and license numbers need protection beyond database access controls, since a stolen database dump could expose them. It argues that encryption rather than hashing is required when the original values must later be recovered for tasks like age calculation or underwriting, while passwords should use a dedicated hashing algorithm like Argon2id. It describes AES-256-GCM as a symmetric, authenticated encryption method that provides both confidentiality and tamper detection. The walkthrough covers how a random 12-byte initialization vector is generated per encryption so identical values produce different ciphertext, and how the algorithm outputs ciphertext plus an authentication tag. The piece indicates it will go on to show how to implement this field-level encryption in a Spring Boot application.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Discovery Handoffs Need Scope, Decisions, Open Questions and Access in One Document

A strong discovery handoff hands the build team five elements: agreed scope and priorities, decisions with their rationale, open questions and assumptions, required access, and a single named owner for changes. Relying on the team to reassemble this from slides, recordings and chat threads leads to lost context. Information commonly disappears around the reasons behind choices, unlogged unknowns, estimate assumptions, and knowing who can answer questions. The article provides a checklist with expected owners for each item, where any missing element should be explicitly flagged rather than left to appear complete. It also recommends short architecture decision records so later team members understand why choices were made.

0
ProgrammingDEV Community ·

Python araç seti: Borsa ve finansal veri analizinde pandas, yfinance, TA-Lib ve scikit-learn

Bir yazar, borsa verileriyle çalışmaya başladığında her şeyi sıfırdan yazmanın büyük bir hata olduğunu fark ettiğini anlatıyor. Bu deneyimlerden yola çıkarak gerçek işlerde kullandığı Python kütüphanelerini ve bunların tuzaklarını paylaşıyor. Pandas'ta SettingWithCopyWarning hatasıyla karşılaşıldığında .copy() kullanımının ve veri tiplerini float32 olarak ayarlamanın bellek kullanımını yaklaşık yüzde 40 düşürdüğü belirtiliyor. Yfinance'in resmi bir API olmadığı için Yahoo tarafındaki değişikliklerle aniden çalışmayabileceği, bu nedenle yalnızca prototip ve analizlerde kullanılması gerektiği vurgulanıyor. Teknik analiz kütüphanesinin özelleştirmede zorluk çıkarabileceği ve sinyallerin manuel kontrol edilmesi gerektiği, scikit-learn ile zaman serilerinde look-ahead bias riskine dikkat edilmesi gerektiği de aktarılıyor.

0
ProgrammingDEV Community ·

Freelancer shares a three-step script for handling client scope creep

A freelance writer recounts agreeing to an unbilled two-week blog section on a fixed-price marketing site, a costly lesson that scope creep is a billing issue rather than a communication one. They present a three-part reply: acknowledge the request positively, ask the client whether it replaces an existing deliverable or is new work, and state the cost in writing before any work begins. The approach is meant to surface trade-offs and make clients choose, with written approval required before new work starts. The author also argues that small unbilled favors add up to thousands of dollars a year, and recommends keeping a written record of scope decisions.

0
ProgrammingDEV Community ·

Check the previous EU contract winner before bidding, using free TED data

Knowing who currently holds an EU public contract and what it paid can help bidders gauge their competition and pricing. All above-threshold EU contract awards are published on TED, but they are spread across many separate notices. The guide describes a free Apify tool that pairs each open tender with the most similar prior award from the same buyer. As an example, the Estonian Transport Administration's upcoming traffic counting device maintenance tender, estimated at EUR 210,000, followed a 2025 award to AS Signaal TM worth EUR 188,880. The tool can run on a weekly schedule and export results to spreadsheets or messaging apps, though the guide advises verifying each match against the original notice before relying on it.