Navigation:  thinBasic Modules >

Crypto

Previous pageReturn to chapter overviewNext page

 

Description

 

Crypto module enables developers to add security based on cryptography to their scripts.

Crypto module includes functionality for encoding to and decoding from, encrypting and decrypting data, hashing and making digital signatures.

 

Functions provided by this module are grouped into two categories:

Crypto_...()
iCrypto_...()

 

Crypto_...() functions are based on Cryptographic Service Provider (CSP) architecture that contains implementations of cryptographic standards and algorithms currently available from Microsoft and others, so you can use Crypto_...() only if you have the CSP available on your PC.

 

iCrypto_...() functions are implemented by thinBasic, so you can use them always.

 

How to use this module

 

Inside your script, before calling any module specific keyword, add the following:

 

USES "Crypto"

 

This directive will load the module and add the following new keywords and relevant module equates.

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com