CrypterObject object

The CrypterObject object encrypts and decrypts the data using the popular algorithms.

Properties

CoderObject property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.


Events

CoderObject event

Occurs

Constructor in PowerScript Reference

Immediately before the Open event occurs in the window.

Destructor in PowerScript Reference

Immediately after the Close event occurs in the window.


Functions

CrypterObject function

Datatype returned

Description

AsymmetricDecrypt in PowerScript Reference

Blob

Decrypts a blob value using asymmetric algorithm.

AsymmetricEncrypt in PowerScript Reference

Blob

Encrypts a blob value using asymmetric algorithm.

AsymmetricGenerateKey in PowerScript Reference

Integer

Generates the secret key for asymmetric algorithm.

AsymmetricSign in PowerScript Reference

Blob

Calculates the signature of the data using asymmetric algorithm.

AsymmetricVerifySign in PowerScript Reference

Integer

Verifies the signature of the data using asymmetric algorithm.

ClassName in PowerScript Reference

String

Returns the name assigned to the object.

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object.

HMAC in PowerScript Reference

Blob

Calculates the HMAC value of the blob data.

MD5 in PowerScript Reference

Blob

Calculates the MD5 value of the blob data.

PostEvent in PowerScript Reference

Boolean

Adds an event to the end of the message queue for the object.

SHA in PowerScript Reference

Blob

Calculates the SHA value of the blob data.

SymmetricDecrypt in PowerScript Reference

Blob

Decrypts a blob value using symmetric algorithm.

SymmetricEncrypt in PowerScript Reference

Blob

Encrypts a blob value using symmetric algorithm.

TriggerEvent in PowerScript Reference

Integer

Triggers a specified event in the object and executes the script for the event.

TypeOf in PowerScript Reference

Object

Returns the object type of the object.