← TCS questions
CodingReported in a candidate post, May 2024

Validate password and apply Caesar cipher encryption

Filed under TCS

Validate a password string `s` against security rules (minimum length 8, at least 1 uppercase letter, 1 lowercase letter, 1 digit, and 1 special character). If valid, encrypt it using a Caesar cipher…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related TCS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.