Documentation

CryptData

string
CSaleUserCards::CryptData(
 string data,
 string type
);

Method updates, encrypts and decrypts user card numbers. Non-static method.

Call parameters

ParameterDescription
data Encrypted (decrypted) date.
type For data encryption, the value "E", for decryption - "D"

Note

Before saving the card number into the database, it must be encrypted, and for retrieval from database - decrypted.

Returned values

Method returns encryption (decryption) result.



© «Bitrix24», 2001-2024
Up