GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Trouble with CryptStandard Function
Trouble with CryptStandard Function
Iniciado por Giuseppe Bellini, nov., 30 2018 5:03 PM - Sem resposta
Conecte-se…
Giuseppe Bellini
#1
Publicado em novembro, 30 2018 - 5:03 PM
I've to send an encrypted message to a webservice.
The service provider set the cypher method to use (AES-256-CBC), the encryption KEY and the Initialisation Vector (IV) to use to crypt the messagge before send it to the service.
So I use the CRYPTSTANDARD() function.
But the function doen't let me to pass the Initialisation Vector as a parameter.
Simply the function seems not designed to work in this way (that seems to be the correct way).
Conversely, the DecryptStandard() function let me pass the Initialisation Vector mixed with the message to crypt.
So I've tried to adopt the same method in the hope that also the cryptstandard() function work in the same mode.
And so I've mixed the desider initialisation vector with the message to cypher.
But it seems to me that, unfortunately, there's is no way to pass an initialisatin vector when it is required by the type of encryption method i must use in this case.
Any suggestion?
Thank you in advance.
Giuseppe Bellini
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto