Package net.i2p.util

Class ConvertToHash

java.lang.Object
net.i2p.util.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 Details

    • ConvertToHash

      public ConvertToHash()
  • Method Details

    • 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