Pregunta de entrevista de Capital One

how to solve an encryption problem