"Sputnik" help  
Sputnik Help
BinaryEncode91(<binary>)

Description

Encodes the given binary data into a Base91 representation.

Parameters

<binary> The binary data to be encoded.

Return Value

Success: Returns a string representing the Base91 encoded data..
Failure: Returns an empty string.

Remarks

The BinaryEncode91 function encodes the given binary data using the Base91 encoding scheme. The resulting encoded data is returned as a string.

Please note that the Base91 encoding is not an encryption method, but rather a representation of binary data in a format that only includes a restricted set of characters for easy sharing and storage.

It's important to ensure that the encoding and decoding operations are performed consistently and with the correct functions to maintain the integrity of the data.

Related

BinaryDecode91

Example

Example of usage:

my $binary = "Hello World";
my $encoded = BinaryEncode91($binary);
say $encoded;
my $decoded = BinaryDecode91($encoded);
say $decoded;
// PRINTS
// >OwJh>Io0Tv!lE
// Hello World

 


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org