SYScrypt

Top  Previous  Next

Data encode and decipher.

With the help of the copy protection module Moskito offers the possibility to encode data. The encoding is symmetrical, 2-times encoding proves the original value. The encoding is depending on the kind of the licence. Net licences and PCMCIA modules generate another coding than single place licences. The number of the Dongles is irrelevant against it. If the programme is in the demo mode, no data are encoded. Then the result is the original.

Parametre

len (int) [IN]

If the number of the data to be encoded brags in byte.

inbuffer (void *) [IN]

This any field with data is encoded. With fields with more than 200-byte length is not guaranteed that the last 32 bytes are encoded.

outbuffer (void *) [OUT]

This pointer must point at an area, in the place is for the coded data from inbuffer.

Result

(int) [OUT]

=1 if the procedure could be explained perfectly.

=0 if a mistake has appeared.

Also in the mistake case the data have been copied in the issue buffer, however, they are identically with the dates of receipt.

Declaration

#include "system.h"

 

int DLLENTRY SYScrypt (

int len,

void * inbuffer,

void * outbuffer

);