2 releases

0.1.1 Jan 12, 2022
0.1.0 Jan 10, 2022

#1385 in Encoding

WTFPL license

7KB
143 lines

ZeroNet Addresses

The addresses ZeroNet uses are based on Bitcoin cryptography.

This crate offers the bare minimum of functionality required for ZeroNet addresses.

  • FromStr with checks
  • Serialize
  • Deserialize
  • Generate SHA256 hash
  • Get address short for display purposes ("1ABCDE..WXYZ")

Dependencies

~1.1–2MB
~46K SLoC