NTCypher10.Ncode ActiveX DLL



Identification

NTCypher10.Ncode

Description

This object is used to encrypt/decrypt data/info by key/seed a "size matters" shift based on a legend and/or static map. A key and data will ALWAYS be 1 byte each or more, size of return will always be exactly the size of the data. Key size should "theoretically" pinch in comparison, vs. runtime rate to the opposite extreme re-rounds against occurs all next 1 byte on conquest.

Functions

EncryptByte (Info(), Seed()) Variant

Parameters

Info Byte()

Specifies an array of bytes to be encrypted. Must be one or more bytes in length.

 

Seed Byte()

Specifies a unique array of bytes to be used as a key against the encryption/decryption. Must be one or more bytes in length.

Description

Encrypts data that is in the form of a byte array and returns the encrypted info as a byte array.

DecryptByte (Info(), Seed()) Variant

Parameters

Info Byte()

Specifies an array of bytes to be decrypted. Must be one or more bytes in length.

 

Seed Byte()

Specifies a unique array of bytes to be used as a key against the encryption/decryption. Must be one or more bytes in length.

Description

Decrypts data that is in the form of a byte array and returns the decrypted info as a byte array.

EncryptString (Text, Key, [OutputInHex]) String

Parameters

Text String

Specifies a string to be encrypted. Must be one or more bytes in length.

 

Key String

Specifies a unique string to be used as a key against the encryption/decryption. Must be one or more bytes in length.

 

[OutputInHex] Boolean = False

Specifies whether the encrypted string is returned as a formatted hex chain.

Description

Encrypts data that is in string format and returns the encrypted info as a string.

DecryptString (Text, Key, [IsTextInHex]) String

Parameters

Text String

Specifies a string to be decrypted. Must be one or more bytes in length.

 

Key String

Specifies a unique string to be used as a key against the encryption/decryption. Must be one or more bytes in length.

 

[IsTextInHex] Boolean = False

Specifies whether the string to decrypt is initially formatted as a hex chain.

Description

Decrypts data that is in string format and returns the decrypted info as a string.

HexEncode (Data) String

Parameters

Data String

Specifies a string of some text to be converted. Must be one or more bytes in length.

Description

Converts a string into a hex chain of the data in an alpha-numerical format, doubling it in size.

HexDecode (Data) String

Parameters

Data String

Specifies a string of some text to be converted. Must be one or more bytes in length.

Description

Converts a string from a hex chain of data in an alpha-numerical format to its original form, reducing the size by half.

Automation

Object:Init (self)

Parameters

self Object

A reference to the object.

Description

Optional event that is called when the object is initialized.

Object:Term (self)

Parameters

self Object

A reference to the object.

Description

Optional event that is called when the object is terminated.