--- title: 'Use the `ShouldBeEncrypted` interface on a job class to make Laravel encrypt the job''s payload' tweet_id: '1507455546978287617' thread_slug: weekly-thread-2022-12 author_username: cosmeescobedo images: - 'https://pbs.twimg.com/media/FOG28lHUcAAk6Om.jpg' created_at: 2022-03-25T20:33:04+00:00 slug: use-the-shouldbeencrypted-interface-on-a-job-class-to-make-laravel-encrypt-the-jobs-payload --- 🔥 #Laravel Job Encryption Since Laravel v8.19.0, you can add the `ShouldBeEncrypted` interface to your job class. Laravel will encrypt the job's payload automatically.