Crate base85rs

source ·
Expand description

A library to encode and decode Base85 RFC1924 variant

This is only one variant of Base85, not the most common one (ASCII-85 and Z85 are wider spread). This variant will most likely been seen in CTF challenges.

During decoding, whitespaces are ignored.

Functions§

  • decode() try to decode a base85 encoded &str and return an Option<Vec<u8>>
  • encode() turns a slice of bytes into base85 encoded String