Crypt new

From Bennu Wiki
Revision as of 07:02, 14 March 2012 by 82.74.128.190 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Syntax

INT POINTER crypt_new ( <INT method> , <CHAR POINTER key>)

Description

Create a handle to start to encrypt information.

Parameters

INT method - Method to encrypt. may be CRYPT_DES or CRYPT_3DES
CHAR POINTER key - key used to the encryption.

Returns

INT POINTER : crypt handle identifier. It is 0 then the handle can not be created.


Mod_crypt
Constants
Functions Cryptdecrypt()Cryptdel()Cryptencrypt()Cryptnew()