11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

algorithm A string containing the digest algorithm name (uppercase or lowercase).<br />

UniData supports the following algorithms:<br />

“md2”<br />

“md4”<br />

“md5”<br />

“mdc2”<br />

“rmd160”<br />

“sha”<br />

“sha1”<br />

data Data or the name of the file containing the data to be digested.<br />

dataLoc 1 - Data in a string<br />

2 - Data in a file<br />

result A string to store the digest result.<br />

DIGEST Parameters<br />

The following table describes the status of each return code.<br />

Return<br />

Code Status<br />

0 Success<br />

1 Unsupported digest algorithm<br />

2 The data file cannot be read<br />

3 Message digest cannot be obtained<br />

4 Invalid parameters<br />

Return Code Status<br />

DIGEST 1-214

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!