public class io.vertx.ext.auth.impl.HashingStrategyImpl implements io.vertx.ext.auth.HashingStrategy
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.ext.auth.impl.HashingStrategyImpl
  super_class: java.lang.Object
{
  private static final io.vertx.core.logging.Logger LOG;
    descriptor: Lio/vertx/core/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.Map<java.lang.String, io.vertx.ext.auth.HashingAlgorithm> algorithms;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Lio/vertx/ext/auth/HashingAlgorithm;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 14
            ldc Lio/vertx/ext/auth/impl/HashingStrategyImpl;
            invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
            putstatic io.vertx.ext.auth.impl.HashingStrategyImpl.LOG:Lio/vertx/core/logging/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
         0: .line 12
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 16
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield io.vertx.ext.auth.impl.HashingStrategyImpl.algorithms:Ljava/util/Map;
         2: .line 12
            return
        end local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/ext/auth/impl/HashingStrategyImpl;

  public void add(io.vertx.ext.auth.HashingAlgorithm);
    descriptor: (Lio/vertx/ext/auth/HashingAlgorithm;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
        start local 1 // io.vertx.ext.auth.HashingAlgorithm algorithm
         0: .line 19
            aload 0 /* this */
            getfield io.vertx.ext.auth.impl.HashingStrategyImpl.algorithms:Ljava/util/Map;
            aload 1 /* algorithm */
            invokeinterface io.vertx.ext.auth.HashingAlgorithm.id:()Ljava/lang/String;
            aload 1 /* algorithm */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 20
            return
        end local 1 // io.vertx.ext.auth.HashingAlgorithm algorithm
        end local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lio/vertx/ext/auth/impl/HashingStrategyImpl;
            0    2     1  algorithm  Lio/vertx/ext/auth/HashingAlgorithm;
    MethodParameters:
           Name  Flags
      algorithm  

  public java.lang.String hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=5
        start local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
        start local 1 // java.lang.String id
        start local 2 // java.util.Map params
        start local 3 // java.lang.String salt
        start local 4 // java.lang.String password
         0: .line 24
            aload 0 /* this */
            getfield io.vertx.ext.auth.impl.HashingStrategyImpl.algorithms:Ljava/util/Map;
            aload 1 /* id */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast io.vertx.ext.auth.HashingAlgorithm
            astore 5 /* algorithm */
        start local 5 // io.vertx.ext.auth.HashingAlgorithm algorithm
         1: .line 26
            aload 5 /* algorithm */
            ifnonnull 3
         2: .line 27
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            aload 1 /* id */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " algorithm is not available."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 30
      StackMap locals: io.vertx.ext.auth.HashingAlgorithm
      StackMap stack:
            aload 5 /* algorithm */
            new io.vertx.ext.auth.HashString
            dup
            aload 1 /* id */
            aload 2 /* params */
            aload 3 /* salt */
            invokespecial io.vertx.ext.auth.HashString.<init>:(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;)V
            aload 4 /* password */
            invokeinterface io.vertx.ext.auth.HashingAlgorithm.hash:(Lio/vertx/ext/auth/HashString;Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* hash */
        start local 6 // java.lang.String hash
         4: .line 32
            aload 5 /* algorithm */
            aload 2 /* params */
            aload 3 /* salt */
            aload 6 /* hash */
            invokestatic io.vertx.ext.auth.HashString.encode:(Lio/vertx/ext/auth/HashingAlgorithm;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 6 // java.lang.String hash
        end local 5 // io.vertx.ext.auth.HashingAlgorithm algorithm
        end local 4 // java.lang.String password
        end local 3 // java.lang.String salt
        end local 2 // java.util.Map params
        end local 1 // java.lang.String id
        end local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lio/vertx/ext/auth/impl/HashingStrategyImpl;
            0    5     1         id  Ljava/lang/String;
            0    5     2     params  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0    5     3       salt  Ljava/lang/String;
            0    5     4   password  Ljava/lang/String;
            1    5     5  algorithm  Lio/vertx/ext/auth/HashingAlgorithm;
            4    5     6       hash  Ljava/lang/String;
    Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    MethodParameters:
          Name  Flags
      id        
      params    
      salt      
      password  

  public boolean verify(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=3
        start local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
        start local 1 // java.lang.String hash
        start local 2 // java.lang.String password
         0: .line 38
            aload 1 /* hash */
            ifnull 1
            aload 2 /* password */
            ifnonnull 2
         1: .line 39
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         2: .line 42
      StackMap locals:
      StackMap stack:
            new io.vertx.ext.auth.HashString
            dup
            aload 1 /* hash */
            invokespecial io.vertx.ext.auth.HashString.<init>:(Ljava/lang/String;)V
            astore 3 /* hashString */
        start local 3 // io.vertx.ext.auth.HashString hashString
         3: .line 44
            aload 0 /* this */
            getfield io.vertx.ext.auth.impl.HashingStrategyImpl.algorithms:Ljava/util/Map;
            aload 3 /* hashString */
            invokevirtual io.vertx.ext.auth.HashString.id:()Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast io.vertx.ext.auth.HashingAlgorithm
            astore 4 /* algorithm */
        start local 4 // io.vertx.ext.auth.HashingAlgorithm algorithm
         4: .line 46
            aload 4 /* algorithm */
            ifnonnull 8
         5: .line 47
            getstatic io.vertx.ext.auth.impl.HashingStrategyImpl.LOG:Lio/vertx/core/logging/Logger;
            invokevirtual io.vertx.core.logging.Logger.isDebugEnabled:()Z
            ifeq 7
         6: .line 48
            getstatic io.vertx.ext.auth.impl.HashingStrategyImpl.LOG:Lio/vertx/core/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "No hash strategy for algorithm: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* hashString */
            invokevirtual io.vertx.ext.auth.HashString.id:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual io.vertx.core.logging.Logger.debug:(Ljava/lang/Object;)V
         7: .line 50
      StackMap locals: io.vertx.ext.auth.HashString io.vertx.ext.auth.HashingAlgorithm
      StackMap stack:
            iconst_0
            ireturn
         8: .line 53
      StackMap locals:
      StackMap stack:
            aload 3 /* hashString */
            invokevirtual io.vertx.ext.auth.HashString.hash:()Ljava/lang/String;
            ifnonnull 10
         9: .line 54
            iconst_0
            ireturn
        10: .line 57
      StackMap locals:
      StackMap stack:
            aload 3 /* hashString */
            invokevirtual io.vertx.ext.auth.HashString.hash:()Ljava/lang/String;
            astore 5 /* hasha */
        start local 5 // java.lang.String hasha
        11: .line 58
            aload 4 /* algorithm */
            aload 3 /* hashString */
            aload 2 /* password */
            invokeinterface io.vertx.ext.auth.HashingAlgorithm.hash:(Lio/vertx/ext/auth/HashString;Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* hashb */
        start local 6 // java.lang.String hashb
        12: .line 60
            aload 5 /* hasha */
            invokevirtual java.lang.String.length:()I
            aload 6 /* hashb */
            invokevirtual java.lang.String.length:()I
            ixor
            istore 7 /* diff */
        start local 7 // int diff
        13: .line 61
            iconst_0
            istore 8 /* i */
        start local 8 // int i
        14: goto 17
        15: .line 62
      StackMap locals: io.vertx.ext.auth.impl.HashingStrategyImpl java.lang.String java.lang.String io.vertx.ext.auth.HashString io.vertx.ext.auth.HashingAlgorithm java.lang.String java.lang.String int int
      StackMap stack:
            iload 7 /* diff */
            aload 5 /* hasha */
            iload 8 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            aload 6 /* hashb */
            iload 8 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            ixor
            ior
            istore 7 /* diff */
        16: .line 61
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        17: iload 8 /* i */
            aload 5 /* hasha */
            invokevirtual java.lang.String.length:()I
            if_icmpge 18
            iload 8 /* i */
            aload 6 /* hashb */
            invokevirtual java.lang.String.length:()I
            if_icmplt 15
        end local 8 // int i
        18: .line 65
      StackMap locals:
      StackMap stack:
            iload 7 /* diff */
            ifne 19
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        19: iconst_0
            ireturn
        end local 7 // int diff
        end local 6 // java.lang.String hashb
        end local 5 // java.lang.String hasha
        end local 4 // io.vertx.ext.auth.HashingAlgorithm algorithm
        end local 3 // io.vertx.ext.auth.HashString hashString
        end local 2 // java.lang.String password
        end local 1 // java.lang.String hash
        end local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   20     0        this  Lio/vertx/ext/auth/impl/HashingStrategyImpl;
            0   20     1        hash  Ljava/lang/String;
            0   20     2    password  Ljava/lang/String;
            3   20     3  hashString  Lio/vertx/ext/auth/HashString;
            4   20     4   algorithm  Lio/vertx/ext/auth/HashingAlgorithm;
           11   20     5       hasha  Ljava/lang/String;
           12   20     6       hashb  Ljava/lang/String;
           13   20     7        diff  I
           14   18     8           i  I
    MethodParameters:
          Name  Flags
      hash      
      password  

  public io.vertx.ext.auth.HashingAlgorithm get(java.lang.String);
    descriptor: (Ljava/lang/String;)Lio/vertx/ext/auth/HashingAlgorithm;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
        start local 1 // java.lang.String id
         0: .line 70
            aload 0 /* this */
            getfield io.vertx.ext.auth.impl.HashingStrategyImpl.algorithms:Ljava/util/Map;
            aload 1 /* id */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast io.vertx.ext.auth.HashingAlgorithm
            areturn
        end local 1 // java.lang.String id
        end local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/ext/auth/impl/HashingStrategyImpl;
            0    1     1    id  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      id    

  public io.vertx.ext.auth.HashingStrategy put(java.lang.String, io.vertx.ext.auth.HashingAlgorithm);
    descriptor: (Ljava/lang/String;Lio/vertx/ext/auth/HashingAlgorithm;)Lio/vertx/ext/auth/HashingStrategy;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
        start local 1 // java.lang.String id
        start local 2 // io.vertx.ext.auth.HashingAlgorithm algorithm
         0: .line 76
            aload 0 /* this */
            getfield io.vertx.ext.auth.impl.HashingStrategyImpl.algorithms:Ljava/util/Map;
            aload 1 /* id */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 77
            getstatic io.vertx.ext.auth.impl.HashingStrategyImpl.LOG:Lio/vertx/core/logging/Logger;
            new java.lang.StringBuilder
            dup
            ldc "Existing algorithm: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* id */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " will be replaced!"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual io.vertx.core.logging.Logger.warn:(Ljava/lang/Object;)V
         2: .line 80
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.auth.impl.HashingStrategyImpl.algorithms:Ljava/util/Map;
            aload 1 /* id */
            aload 2 /* algorithm */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 81
            aload 0 /* this */
            areturn
        end local 2 // io.vertx.ext.auth.HashingAlgorithm algorithm
        end local 1 // java.lang.String id
        end local 0 // io.vertx.ext.auth.impl.HashingStrategyImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Lio/vertx/ext/auth/impl/HashingStrategyImpl;
            0    4     1         id  Ljava/lang/String;
            0    4     2  algorithm  Lio/vertx/ext/auth/HashingAlgorithm;
    MethodParameters:
           Name  Flags
      id         
      algorithm  
}
SourceFile: "HashingStrategyImpl.java"