This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cR!pToB4s1C | |
Uma das maneiras mais eficientes para se fazer comunicação entre partes, de modo que somente o escritor e leitor possam entender a mensagem é encriptar (criptografar) as mensagens. | |
Para tal, há diversas maneiras de se fazer isso. Cada uma delas possui seus tradeoffs. Algumas são relativamente fáceis de se implementar, porém relativamente simples de quebrar a criptografia (quebra de criptogafia: um terceiro pode ler a mensagem). | |
Assim, você Edudardo Keschichian, como Engenheiro de Software, ficou encarregado de implementar um subprograma (console application) resposável por fazer a leitura de uma palavra criptografada e descriptografá-la. | |
Entrada: Um número de 0 a 23, onde 0 representa a letra "A" e 26 representa a letra "Z" (sempre em letra maiúscula). | |
Saída: A palavra descriptografada. | |
Exemplo: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.estudo.api.cinema.estudo.service; | |
import br.com.estudo.api.cinema.estudo.entity.ClienteEntity; | |
import br.com.estudo.api.cinema.estudo.mapper.ClienteMapper; | |
import br.com.estudo.api.cinema.estudo.repository.ClienteRepository; | |
import br.com.estudo.api.cinema.estudo.util.CinemaFactoryTest; | |
import org.assertj.core.api.Assertions; | |
import org.junit.jupiter.api.Test; | |
import org.junit.jupiter.api.extension.ExtendWith; | |
import org.mockito.InjectMocks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sodexo.maskbackend.shared.config; | |
import org.apache.http.impl.client.CloseableHttpClient; | |
import org.apache.http.impl.client.HttpClientBuilder; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.Primary; | |
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; | |
import org.springframework.scheduling.TaskScheduler; | |
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; |