AES criptografia com chave de texto simples usando o bash openssl

0

Estou tentando criptografar uma string usando o AES CBC. A saída da ferramenta online ( link ) e o comando bash openssl não correspondem. Alguém pode me ajudar com o que estou fazendo errado?

key = 12345678912345678912345678912345
iv="e90e89a2277f4f3b6a2080d27f734266" #using the one generated by online tool
openssl enc -aes-256-cbc -in input.txt -out output.txt -K $key -iv $iv

EDIT - as configurações que usei on-line são -

Input type - plain text
Function - AES
Mode - CBC
Key - (plain) - 12345678912345678912345678912345
Init Vector - e9 0e 89 a2 27 7f 4f 3b 6a 20 80 d2 7f 73 42 66
    
por Umang 01.11.2015 / 13:33

0 respostas