uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Sun May 14, 2006 9:45 am Post subject: To Codify with codifDSU.dsu |
|
|
Hi.
I have been working in a DSU to be able to codify texts with something more of security than the one that offers the function VDS 5 @encrypt().
codifDSU provides a new function to the vocabulary of VDS5 to codify texts using an optional alphanumeric key and with a small control of characters (CRC) so that the codified data are more trustworthy.
In the ZIP file are examples and a file of aid with all the documentation (in Spanish).
SUMMARY of Syntax
USE:
#include codifDSU.dsu
SYNTAX:
%%var = @codif(ini)
It initializes codfiDSU. It is the first function to call
%%var = @codif(cod,"string" ,[password])
%%var = @codif(decod,"string" ,[password if it is necessary])
It codifies and decodifies text string with or without password
%%var = @codif(errormensaje,"SI" or "NO")
(SI) it presents/displays error messages (by defect)
(NO) not they present/display the error messages
In both cases it is possible to be acceded to error code with @codif(error)
ERROR MESSAGES:
1 Missing argument(s) to @ function
The function executed expects more parameters than the number given.
2 CRC Error (Corrupt Data)
The data to decodify have been modified and are corrupt
3 CRC or Password Invalid
It happens an error to manipulated the codified data or when trying takes place to decodify a data with an incorrect password.
4 Invalid @ function
An invalid function has been encountered.
___________
uVeDeSe
visit: http://www.uvedese.es
Description: |
New release!: a corrected bug |
|
Download |
Filename: |
codifDSU.zip |
Filesize: |
22.8 KB |
Downloaded: |
1110 Time(s) |
|
|