PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Trouble with CryptStandard Function
Trouble with CryptStandard Function
Started by Giuseppe Bellini, Nov., 30 2018 5:03 PM - No answer
Connect yourself…
Giuseppe Bellini
#1
Posted on November, 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
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text