e-CryptIt Engine REALbasic Plugin

eCryptEncode Method

To encode a string by excluding specified characters from the result, the encoded string.
eCryptEncode does not encrypt the data, use any encryption method before if encryption is required.

eCryptEncode(
   source as String,
   iStart as Integer,
   iEnd as Integer) as String

Parameters

source
The string to encode.
iStart
The character range starting value 0-255.
iEnd
The character range ending value 0-255.

Returns

String

Remarks

Returns the encoded string, which will probably not have the same length as the source string.

Do not exclude more than 125 characters or the eCryptEncode and eCryptDecode functions will return an empty string.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    See Also

    GlobalMethods Global