Package net.i2p.util

Class ConvertToHash


  • public class ConvertToHash
    extends Object
    Convert any kind of destination String to a hash Supported: Base64 dest Base64 dest.i2p Base64 Hash Base64 Hash.i2p Base32 Hash Base32 desthash.b32.i2p example.i2p
    Author:
    zzz
    • Constructor Detail

      • ConvertToHash

        public ConvertToHash()
    • Method Detail

      • getHash

        public static Hash getHash​(String peer)
        Convert any kind of destination String to a hash
        Returns:
        null on failure
      • main

        public static void main​(String[] args)
        Since:
        0.9.28