Class AliasHasher


  • public final class AliasHasher
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.token.proto.common.alias.AliasProtos.Alias normalize​(io.token.proto.common.alias.AliasProtos.Alias alias)
      Normalizes an alias.
      static java.lang.String normalizeAndHash​(io.token.proto.common.alias.AliasProtos.Alias alias)
      Normalizes alias and converts to alias hash.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • normalize

        public static io.token.proto.common.alias.AliasProtos.Alias normalize​(io.token.proto.common.alias.AliasProtos.Alias alias)
        Normalizes an alias.
        Parameters:
        alias - the alias to be normalized
        Returns:
        the normalized alias
      • normalizeAndHash

        public static java.lang.String normalizeAndHash​(io.token.proto.common.alias.AliasProtos.Alias alias)
        Normalizes alias and converts to alias hash.
        Parameters:
        alias - the alias
        Returns:
        the alias hash