Method: String#base32_encode

Defined in:
lib/ronin/support/encoding/base32/core_ext/string.rb

#base32_encodeString

Base32 encodes the String.

Examples:

"The quick brown fox jumps over the lazy dog".base32_encode
# => "KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JAMRXWO==="

Returns:

  • (String)

    The Base32 encoded String.

Since:

  • 1.0.0



39
40
41
# File 'lib/ronin/support/encoding/base32/core_ext/string.rb', line 39

def base32_encode
  Ronin::Support::Encoding::Base32.encode(self)
end