[][src]Crate nix_base32

Encodes [u8] as base32 like nix

This crate encodes a [u8] byte slice in a nix-compatible way. SHA256 hash codes in nix are usually encoded in base32 with an unusual set of characters (without E O U T).

Functions

to_nix_base32

Converts the given byte slice to a nix-compatible base32 encoded String.