Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SRP_Decode function decodes data that was previously encoded into a printable format. There are three decoding algorithms available:

AlgorithmDescriptionVersion Added
HEXThe input contains hexadecimal pairs for each byte
BASE32The input is encoded in BASE32 printable format
BASE64The input is encoded in BASE64 printable format
URLThe input is a URL that might have character escape sequence, such as %202.1.5
BASE64URLThe input is BASE64 encoded using URL safe characters2.1.5

If you leave the Algorithm parameter blank or pass an unrecognized value, then BASE64 is assumed.

...

OpenInsight also includes it's own "HEX" decoder via the IConv function. However, this decoder does not handle delimiters. This may be useful if you're decoding elements in an array. However, if you are decoding binary data, then the SRP_Decode "HEX" algorithm will serve more useful.

Use SRP Encode when you need to convert binary data into a printable format.

...