Crypt new

From Bennu Wiki
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()