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

Description

Encodes the given binary data into a Base32 representation.

Parameters

<binary> The binary data to be encoded.

Return Value

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

Remarks

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

Please note that the Base32 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

BinaryDecode32

Example

Example of usage:

my $binary = "Hello World";
my $encoded = BinaryEncode32($binary);
say $encoded;
my $decoded = BinaryDecode32($encoded);
say $decoded;
// PRINTS
// JBSWY3DPEBLW64TMMQ
// Hello World

 


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