report/EncryptMin. Encryption

Utilities to encrypt and decrypt strings using simple methods, just to avoid write
passwords in plain text in data and configuration files. Do not use it as a
secure cryptographic system!

Based on Encryption
utilities, created by Albert Llastarri for JClic.

IMPORTANT: This is a shortened version of Encryption with only the methods needed to decrypt
stored passwords. Full version is on file src/misc/encryption/Encryption.js

Constructor

(abstract) new Encryption()

Members

(static) BLANK :string

Default bank password

Type:
  • string

Methods

(static) Decrypt(txt) → {string}

Decrypts the given code

Parameters:
NameTypeDescription
txtstring

Code to be decrypted

Returns:
Type: 
string

(static) codify(word) → {string}

Parameters:
NameTypeDescription
wordstring
Returns:
Type: 
string

(static) decodify(word) → {string}

Parameters:
NameTypeDescription
wordstring
Returns:
Type: 
string

(static) decodifyFromHex(sb1) → {string}

Parameters:
NameTypeDescription
sb1string

(was StringBuilder)

Returns:
Type: 
string

(static) decodifyZerosField(cA) → {string}

Parameters:
NameTypeDescription
cAstring

(was char[])

Returns:
Type: 
string

(static) decompressZeros(cA) → {string}

Parameters:
NameTypeDescription
cAstring

(was char[])

Returns:

(was StringBuilder)

Type: 
string

(static) hexCharArrayToChar(cA, fromIndex) → {string}

Parameters:
NameTypeDescription
cAstring

(was char[])

fromIndexnumber
Returns:

(was char)

Type: 
string

(static) hexCharArrayToInt(cA, fromIndex) → {number}

Parameters:
NameTypeDescription
cAstring

(was char[])

fromIndexnumber
Returns:
Type: 
number

(static) unchangeOrder(s) → {string}

Parameters:
NameTypeDescription
sstring
Returns:

(was char[])

Type: 
string