Search
Preparing search index...
The search index is not available
symbol-bootstrap
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
symbol-bootstrap
CryptoUtils
Class CryptoUtils
Hierarchy
CryptoUtils
Index
Constructors
constructor
Properties
ENCRYPTABLE_
KEYS
ENCRYPT_
PREFIX
Methods
decrypt
encrypt
encrypted
Count
get
Private
Key
Security
Mode
is
Encryptable
Key
Field
remove
Private
Keys
remove
Private
Keys
According
To
Security
Mode
Constructors
constructor
new
Crypto
Utils
(
)
:
CryptoUtils
Returns
CryptoUtils
Properties
Static
Private
Readonly
ENCRYPTABLE_
KEYS
ENCRYPTABLE_
KEYS
:
string
[]
= ...
Static
Private
Readonly
ENCRYPT_
PREFIX
ENCRYPT_
PREFIX
:
"ENCRYPTED:"
= 'ENCRYPTED:'
Methods
Static
decrypt
decrypt
(
value
:
any
, password
:
string
, fieldName
?:
string
)
:
any
Parameters
value:
any
password:
string
Optional
fieldName:
string
Returns
any
Static
encrypt
encrypt
(
value
:
any
, password
:
string
, fieldName
?:
string
)
:
any
Parameters
value:
any
password:
string
Optional
fieldName:
string
Returns
any
Static
encrypted
Count
encrypted
Count
(
value
:
any
, fieldName
?:
string
)
:
number
Parameters
value:
any
Optional
fieldName:
string
Returns
number
Static
get
Private
Key
Security
Mode
get
Private
Key
Security
Mode
(
value
:
undefined
|
string
)
:
PrivateKeySecurityMode
Parameters
value:
undefined
|
string
Returns
PrivateKeySecurityMode
Static
Private
is
Encryptable
Key
Field
is
Encryptable
Key
Field
(
value
:
any
, fieldName
:
undefined
|
string
)
:
undefined
|
boolean
|
""
Parameters
value:
any
fieldName:
undefined
|
string
Returns
undefined
|
boolean
|
""
Static
remove
Private
Keys
remove
Private
Keys
(
value
:
any
, blacklistNames
?:
string
[]
)
:
any
Parameters
value:
any
blacklistNames:
string
[]
= []
Returns
any
Static
remove
Private
Keys
According
To
Security
Mode
remove
Private
Keys
According
To
Security
Mode
(
value
:
any
, securityMode
:
PrivateKeySecurityMode
)
:
any
Parameters
value:
any
securityMode:
PrivateKeySecurityMode
Returns
any
Exports
Crypto
Utils
constructor
ENCRYPTABLE_
KEYS
ENCRYPT_
PREFIX
decrypt
encrypt
encrypted
Count
get
Private
Key
Security
Mode
is
Encryptable
Key
Field
remove
Private
Keys
remove
Private
Keys
According
To
Security
Mode
Generated using
TypeDoc