You are here

function uc_encryption_class::uc_encryption_class in Ubercart 5

File

uc_store/uc_store.module, line 2668
Contains global Ubercart functions and store administration functionality.

Class

uc_encryption_class
Trimmed down version of GPL class by Tony Marston. Details available at http://www.tonymarston.co.uk/php-mysql/encryption.html

Code

function uc_encryption_class() {
  $this->errors = array();
  $this->scramble1 = '! #$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`"abcdefghijklmnopqrstuvwxyz{|}~';
  $this->scramble2 = 'f^jAE]okIOzU[2&q1{3`h5w_794p@6s8?BgP>dFV=m" D<TcS%Ze|r:lGK/uCy.Jx)HiQ!#$~(;Lt-R}Ma,NvW+Ynb*0X';
  $this->adj = 1.75;
  $this->mod = 3;
}