public final class org.jasypt.digest.StandardByteDigester implements org.jasypt.digest.ByteDigester
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jasypt.digest.StandardByteDigester
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_ALGORITHM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "MD5"
public static final int DEFAULT_SALT_SIZE_BYTES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int DEFAULT_ITERATIONS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int saltSizeBytes;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int iterations;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.jasypt.salt.SaltGenerator saltGenerator;
descriptor: Lorg/jasypt/salt/SaltGenerator;
flags: (0x0002) ACC_PRIVATE
private java.lang.String providerName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
private boolean invertPositionOfSaltInMessageBeforeDigesting;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean invertPositionOfPlainSaltInEncryptionResults;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean useLenientSaltSizeCheck;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.jasypt.digest.config.DigesterConfig config;
descriptor: Lorg/jasypt/digest/config/DigesterConfig;
flags: (0x0002) ACC_PRIVATE
private boolean algorithmSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean saltSizeBytesSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean iterationsSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean saltGeneratorSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean providerNameSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean providerSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean invertPositionOfSaltInMessageBeforeDigestingSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean invertPositionOfPlainSaltInEncryptionResultsSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean useLenientSaltSizeCheckSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean useSalt;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.security.MessageDigest md;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private int digestLengthBytes;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "MD5"
putfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
2: aload 0
bipush 8
putfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
3: aload 0
sipush 1000
putfield org.jasypt.digest.StandardByteDigester.iterations:I
4: aload 0
aconst_null
putfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
5: aload 0
aconst_null
putfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
6: aload 0
aconst_null
putfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
7: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigesting:Z
8: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResults:Z
9: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheck:Z
10: aload 0
aconst_null
putfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
11: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.algorithmSet:Z
12: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.saltSizeBytesSet:Z
13: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.iterationsSet:Z
14: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.saltGeneratorSet:Z
15: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.providerNameSet:Z
16: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.providerSet:Z
17: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigestingSet:Z
18: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResultsSet:Z
19: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheckSet:Z
20: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.initialized:Z
21: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.useSalt:Z
22: aload 0
aconst_null
putfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
23: aload 0
iconst_0
putfield org.jasypt.digest.StandardByteDigester.digestLengthBytes:I
24: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/jasypt/digest/StandardByteDigester;
public synchronized void setConfig(org.jasypt.digest.config.DigesterConfig);
descriptor: (Lorg/jasypt/digest/config/DigesterConfig;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Config cannot be set null"
invokestatic org.jasypt.commons.CommonUtils.validateNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 3
2: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jasypt/digest/StandardByteDigester;
0 5 1 config Lorg/jasypt/digest/config/DigesterConfig;
MethodParameters:
Name Flags
config final
public synchronized void setAlgorithm(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Algorithm cannot be empty"
invokestatic org.jasypt.commons.CommonUtils.validateNotEmpty:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 3
2: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
4: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.algorithmSet:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jasypt/digest/StandardByteDigester;
0 6 1 algorithm Ljava/lang/String;
MethodParameters:
Name Flags
algorithm final
public synchronized void setSaltSizeBytes(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Salt size in bytes must be non-negative"
invokestatic org.jasypt.commons.CommonUtils.validateIsTrue:(ZLjava/lang/String;)V
3: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 5
4: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
6: aload 0
iload 1
ifle 7
iconst_1
goto 8
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
7: iconst_0
StackMap locals: org.jasypt.digest.StandardByteDigester int
StackMap stack: org.jasypt.digest.StandardByteDigester int
8: putfield org.jasypt.digest.StandardByteDigester.useSalt:Z
9: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.saltSizeBytesSet:Z
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jasypt/digest/StandardByteDigester;
0 11 1 saltSizeBytes I
MethodParameters:
Name Flags
saltSizeBytes final
public synchronized void setIterations(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Number of iterations must be greater than zero"
invokestatic org.jasypt.commons.CommonUtils.validateIsTrue:(ZLjava/lang/String;)V
3: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 5
4: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.jasypt.digest.StandardByteDigester.iterations:I
6: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.iterationsSet:Z
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jasypt/digest/StandardByteDigester;
0 8 1 iterations I
MethodParameters:
Name Flags
iterations final
public synchronized void setSaltGenerator(org.jasypt.salt.SaltGenerator);
descriptor: (Lorg/jasypt/salt/SaltGenerator;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Salt generator cannot be set null"
invokestatic org.jasypt.commons.CommonUtils.validateNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 3
2: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
4: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.saltGeneratorSet:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jasypt/digest/StandardByteDigester;
0 6 1 saltGenerator Lorg/jasypt/salt/SaltGenerator;
MethodParameters:
Name Flags
saltGenerator final
public synchronized void setProviderName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Provider name cannot be set null"
invokestatic org.jasypt.commons.CommonUtils.validateNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 3
2: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
4: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.providerNameSet:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jasypt/digest/StandardByteDigester;
0 6 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName final
public synchronized void setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Provider cannot be set null"
invokestatic org.jasypt.commons.CommonUtils.validateNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 3
2: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
4: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.providerSet:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jasypt/digest/StandardByteDigester;
0 6 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider final
public synchronized void setInvertPositionOfSaltInMessageBeforeDigesting(boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 2
1: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigesting:Z
3: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigestingSet:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jasypt/digest/StandardByteDigester;
0 5 1 invertPositionOfSaltInMessageBeforeDigesting Z
MethodParameters:
Name Flags
invertPositionOfSaltInMessageBeforeDigesting final
public synchronized void setInvertPositionOfPlainSaltInEncryptionResults(boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 2
1: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResults:Z
3: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResultsSet:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jasypt/digest/StandardByteDigester;
0 5 1 invertPositionOfPlainSaltInEncryptionResults Z
MethodParameters:
Name Flags
invertPositionOfPlainSaltInEncryptionResults final
public synchronized void setUseLenientSaltSizeCheck(boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifeq 2
1: new org.jasypt.exceptions.AlreadyInitializedException
dup
invokespecial org.jasypt.exceptions.AlreadyInitializedException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheck:Z
3: aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheckSet:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jasypt/digest/StandardByteDigester;
0 5 1 useLenientSaltSizeCheck Z
MethodParameters:
Name Flags
useLenientSaltSizeCheck final
org.jasypt.digest.StandardByteDigester cloneDigester();
descriptor: ()Lorg/jasypt/digest/StandardByteDigester;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifne 2
1: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.initialize:()V
2: StackMap locals:
StackMap stack:
new org.jasypt.digest.StandardByteDigester
dup
invokespecial org.jasypt.digest.StandardByteDigester.<init>:()V
astore 1
start local 1 3: aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
invokestatic org.jasypt.commons.CommonUtils.isNotEmpty:(Ljava/lang/String;)Z
ifeq 5
4: aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
invokevirtual org.jasypt.digest.StandardByteDigester.setAlgorithm:(Ljava/lang/String;)V
5: StackMap locals: org.jasypt.digest.StandardByteDigester
StackMap stack:
aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResults:Z
invokevirtual org.jasypt.digest.StandardByteDigester.setInvertPositionOfPlainSaltInEncryptionResults:(Z)V
6: aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigesting:Z
invokevirtual org.jasypt.digest.StandardByteDigester.setInvertPositionOfSaltInMessageBeforeDigesting:(Z)V
7: aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.iterations:I
invokevirtual org.jasypt.digest.StandardByteDigester.setIterations:(I)V
8: aload 0
getfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
ifnull 10
9: aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
invokevirtual org.jasypt.digest.StandardByteDigester.setProvider:(Ljava/security/Provider;)V
10: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
ifnull 12
11: aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
invokevirtual org.jasypt.digest.StandardByteDigester.setProviderName:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
ifnull 14
13: aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
invokevirtual org.jasypt.digest.StandardByteDigester.setSaltGenerator:(Lorg/jasypt/salt/SaltGenerator;)V
14: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
invokevirtual org.jasypt.digest.StandardByteDigester.setSaltSizeBytes:(I)V
15: aload 1
aload 0
getfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheck:Z
invokevirtual org.jasypt.digest.StandardByteDigester.setUseLenientSaltSizeCheck:(Z)V
16: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jasypt/digest/StandardByteDigester;
3 17 1 cloned Lorg/jasypt/digest/StandardByteDigester;
public boolean isInitialized();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jasypt.digest.StandardByteDigester.initialized:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jasypt/digest/StandardByteDigester;
public synchronized void initialize();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=10, args_size=1
start local 0 0: aload 0
getfield org.jasypt.digest.StandardByteDigester.initialized:Z
ifne 116
1: aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
ifnull 73
2: aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getAlgorithm:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
ldc "Algorithm cannot be empty"
invokestatic org.jasypt.commons.CommonUtils.validateNotEmpty:(Ljava/lang/String;Ljava/lang/String;)V
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getSaltSizeBytes:()Ljava/lang/Integer;
astore 2
start local 2 6: aload 2
ifnull 11
7: aload 2
invokevirtual java.lang.Integer.intValue:()I
iflt 8
iconst_1
goto 9
StackMap locals: java.lang.Integer
StackMap stack:
8: iconst_0
9: StackMap locals:
StackMap stack: int
ldc "Salt size in bytes must be non-negative"
10: invokestatic org.jasypt.commons.CommonUtils.validateIsTrue:(ZLjava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getIterations:()Ljava/lang/Integer;
astore 3
start local 3 12: aload 3
ifnull 17
13: aload 3
invokevirtual java.lang.Integer.intValue:()I
ifle 14
iconst_1
goto 15
StackMap locals: java.lang.Integer
StackMap stack:
14: iconst_0
15: StackMap locals:
StackMap stack: int
ldc "Number of iterations must be greater than zero"
16: invokestatic org.jasypt.commons.CommonUtils.validateIsTrue:(ZLjava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getSaltGenerator:()Lorg/jasypt/salt/SaltGenerator;
astore 4
start local 4 18: aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getProviderName:()Ljava/lang/String;
astore 5
start local 5 19: aload 5
ifnull 21
20: aload 5
ldc "Provider name cannot be empty"
invokestatic org.jasypt.commons.CommonUtils.validateNotEmpty:(Ljava/lang/String;Ljava/lang/String;)V
21: StackMap locals: org.jasypt.salt.SaltGenerator java.lang.String
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getProvider:()Ljava/security/Provider;
astore 6
start local 6 22: aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getInvertPositionOfSaltInMessageBeforeDigesting:()Ljava/lang/Boolean;
23: astore 7
start local 7 24: aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getInvertPositionOfPlainSaltInEncryptionResults:()Ljava/lang/Boolean;
25: astore 8
start local 8 26: aload 0
getfield org.jasypt.digest.StandardByteDigester.config:Lorg/jasypt/digest/config/DigesterConfig;
invokeinterface org.jasypt.digest.config.DigesterConfig.getUseLenientSaltSizeCheck:()Ljava/lang/Boolean;
27: astore 9
start local 9 28: aload 0
29: aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithmSet:Z
ifne 30
aload 1
ifnonnull 31
30: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
goto 32
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
31: aload 1
32: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester java.lang.String
putfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
33: aload 0
34: aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytesSet:Z
ifne 35
aload 2
ifnonnull 36
35: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
goto 37
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
36: aload 2
invokevirtual java.lang.Integer.intValue:()I
37: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester int
putfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
38: aload 0
39: aload 0
getfield org.jasypt.digest.StandardByteDigester.iterationsSet:Z
ifne 40
aload 3
ifnonnull 41
40: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.iterations:I
goto 42
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
41: aload 3
invokevirtual java.lang.Integer.intValue:()I
42: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester int
putfield org.jasypt.digest.StandardByteDigester.iterations:I
43: aload 0
44: aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGeneratorSet:Z
ifne 45
aload 4
ifnonnull 46
45: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
goto 47
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
46: aload 4
47: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester org.jasypt.salt.SaltGenerator
putfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
48: aload 0
49: aload 0
getfield org.jasypt.digest.StandardByteDigester.providerNameSet:Z
ifne 50
aload 5
ifnonnull 51
50: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
goto 52
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
51: aload 5
52: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester java.lang.String
putfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
53: aload 0
54: aload 0
getfield org.jasypt.digest.StandardByteDigester.providerSet:Z
ifne 55
aload 6
ifnonnull 56
55: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
goto 57
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
56: aload 6
57: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester java.security.Provider
putfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
58: aload 0
59: aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigestingSet:Z
ifne 60
aload 7
ifnonnull 61
60: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigesting:Z
goto 62
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
61: aload 7
invokevirtual java.lang.Boolean.booleanValue:()Z
62: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester int
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigesting:Z
63: aload 0
64: aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResultsSet:Z
ifne 65
aload 8
ifnonnull 66
65: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResults:Z
goto 67
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
66: aload 8
invokevirtual java.lang.Boolean.booleanValue:()Z
67: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester int
putfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResults:Z
68: aload 0
69: aload 0
getfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheckSet:Z
ifne 70
aload 9
ifnonnull 71
70: StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
aload 0
getfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheck:Z
goto 72
StackMap locals:
StackMap stack: org.jasypt.digest.StandardByteDigester
71: aload 9
invokevirtual java.lang.Boolean.booleanValue:()Z
72: StackMap locals: org.jasypt.digest.StandardByteDigester java.lang.String java.lang.Integer java.lang.Integer org.jasypt.salt.SaltGenerator java.lang.String java.security.Provider java.lang.Boolean java.lang.Boolean java.lang.Boolean
StackMap stack: org.jasypt.digest.StandardByteDigester int
putfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheck:Z
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 73: StackMap locals: org.jasypt.digest.StandardByteDigester
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
ifnonnull 75
74: aload 0
new org.jasypt.salt.RandomSaltGenerator
dup
invokespecial org.jasypt.salt.RandomSaltGenerator.<init>:()V
putfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
75: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheck:Z
ifeq 85
76: aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
invokeinterface org.jasypt.salt.SaltGenerator.includePlainSaltInEncryptionResults:()Z
ifne 85
77: new org.jasypt.exceptions.EncryptionInitializationException
dup
78: new java.lang.StringBuilder
dup
ldc "The configured Salt Generator ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
79: aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
80: ldc ") does not include plain salt "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
81: ldc "in encryption results, which is not compatible"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
82: ldc "with setting the salt size checking behaviour to \"lenient\"."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
83: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
84: invokespecial org.jasypt.exceptions.EncryptionInitializationException.<init>:(Ljava/lang/String;)V
athrow
85: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
ifnull 92
86: aload 0
87: aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
88: aload 0
getfield org.jasypt.digest.StandardByteDigester.provider:Ljava/security/Provider;
89: invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/MessageDigest;
90: putfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
91: goto 105
StackMap locals:
StackMap stack:
92: aload 0
getfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
ifnull 99
93: aload 0
94: aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
95: aload 0
getfield org.jasypt.digest.StandardByteDigester.providerName:Ljava/lang/String;
96: invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/MessageDigest;
97: putfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
98: goto 105
99: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
putfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
100: goto 105
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
101: astore 1
start local 1 102: new org.jasypt.exceptions.EncryptionInitializationException
dup
aload 1
invokespecial org.jasypt.exceptions.EncryptionInitializationException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 103: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 1
start local 1 104: new org.jasypt.exceptions.EncryptionInitializationException
dup
aload 1
invokespecial org.jasypt.exceptions.EncryptionInitializationException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 105: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.getDigestLength:()I
putfield org.jasypt.digest.StandardByteDigester.digestLengthBytes:I
106: aload 0
getfield org.jasypt.digest.StandardByteDigester.digestLengthBytes:I
ifgt 115
107: new org.jasypt.exceptions.EncryptionInitializationException
dup
108: new java.lang.StringBuilder
dup
ldc "The configured algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
109: aload 0
getfield org.jasypt.digest.StandardByteDigester.algorithm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") or its provider do "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
110: ldc "not allow knowing the digest length beforehand "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
111: ldc "(getDigestLength() operation), which is not compatible"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
112: ldc "with setting the salt size checking behaviour to \"lenient\"."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
113: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
114: invokespecial org.jasypt.exceptions.EncryptionInitializationException.<init>:(Ljava/lang/String;)V
athrow
115: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.jasypt.digest.StandardByteDigester.initialized:Z
116: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 117 0 this Lorg/jasypt/digest/StandardByteDigester;
3 73 1 configAlgorithm Ljava/lang/String;
6 73 2 configSaltSizeBytes Ljava/lang/Integer;
12 73 3 configIterations Ljava/lang/Integer;
18 73 4 configSaltGenerator Lorg/jasypt/salt/SaltGenerator;
19 73 5 configProviderName Ljava/lang/String;
22 73 6 configProvider Ljava/security/Provider;
24 73 7 configInvertPositionOfSaltInMessageBeforeDigesting Ljava/lang/Boolean;
26 73 8 configInvertPositionOfPlainSaltInEncryptionResults Ljava/lang/Boolean;
28 73 9 configUseLenientSaltSizeCheck Ljava/lang/Boolean;
102 103 1 e Ljava/security/NoSuchAlgorithmException;
104 105 1 e Ljava/security/NoSuchProviderException;
Exception table:
from to target type
85 100 101 Class java.security.NoSuchAlgorithmException
85 100 103 Class java.security.NoSuchProviderException
public byte[] digest(byte[]);
descriptor: ([B)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifne 4
3: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.initialize:()V
4: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 5: aload 0
getfield org.jasypt.digest.StandardByteDigester.useSalt:Z
ifeq 7
6: aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
invokeinterface org.jasypt.salt.SaltGenerator.generateSalt:(I)[B
astore 2
7: StackMap locals: byte[]
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.jasypt.digest.StandardByteDigester.digest:([B[B)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jasypt/digest/StandardByteDigester;
0 8 1 message [B
5 8 2 salt [B
MethodParameters:
Name Flags
message
private byte[] digest(byte[], byte[]);
descriptor: ([B[B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
dup
astore 4
monitorenter
2: aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
3: aload 2
ifnull 11
4: aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfSaltInMessageBeforeDigesting:Z
ifne 8
5: aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
6: aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
7: goto 12
8: StackMap locals: byte[] java.security.MessageDigest
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
9: aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
12: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
astore 3
13: iconst_0
istore 5
start local 5 14: goto 18
15: StackMap locals: int
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
16: aload 0
getfield org.jasypt.digest.StandardByteDigester.md:Ljava/security/MessageDigest;
aload 3
invokevirtual java.security.MessageDigest.digest:([B)[B
astore 3
17: iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
aload 0
getfield org.jasypt.digest.StandardByteDigester.iterations:I
iconst_1
isub
if_icmplt 15
end local 5 19: aload 4
monitorexit
20: goto 23
StackMap locals: org.jasypt.digest.StandardByteDigester byte[] byte[] byte[] java.security.MessageDigest
StackMap stack: java.lang.Throwable
21: aload 4
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
invokeinterface org.jasypt.salt.SaltGenerator.includePlainSaltInEncryptionResults:()Z
ifeq 29
aload 2
ifnull 29
24: aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResults:Z
ifne 27
25: aload 2
aload 3
invokestatic org.jasypt.commons.CommonUtils.appendArrays:([B[B)[B
26: areturn
27: StackMap locals:
StackMap stack:
aload 3
aload 2
invokestatic org.jasypt.commons.CommonUtils.appendArrays:([B[B)[B
28: areturn
29: StackMap locals:
StackMap stack:
aload 3
30: areturn
end local 3 31: StackMap locals: org.jasypt.digest.StandardByteDigester byte[] byte[]
StackMap stack: java.lang.Exception
pop
32: new org.jasypt.exceptions.EncryptionOperationNotPossibleException
dup
invokespecial org.jasypt.exceptions.EncryptionOperationNotPossibleException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/jasypt/digest/StandardByteDigester;
0 33 1 message [B
0 33 2 salt [B
1 31 3 digest [B
14 19 5 i I
Exception table:
from to target type
2 20 21 any
21 22 21 any
0 26 31 Class java.lang.Exception
27 28 31 Class java.lang.Exception
29 30 31 Class java.lang.Exception
MethodParameters:
Name Flags
message final
salt final
public boolean matches(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: aload 2
ifnonnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 2
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.isInitialized:()Z
ifne 7
6: aload 0
invokevirtual org.jasypt.digest.StandardByteDigester.initialize:()V
7: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 8: aload 0
getfield org.jasypt.digest.StandardByteDigester.useSalt:Z
ifeq 29
9: aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
invokeinterface org.jasypt.salt.SaltGenerator.includePlainSaltInEncryptionResults:()Z
ifeq 28
10: aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
istore 4
start local 4 11: aload 0
getfield org.jasypt.digest.StandardByteDigester.digestLengthBytes:I
ifle 19
12: aload 0
getfield org.jasypt.digest.StandardByteDigester.useLenientSaltSizeCheck:Z
ifeq 17
13: aload 2
arraylength
aload 0
getfield org.jasypt.digest.StandardByteDigester.digestLengthBytes:I
if_icmpge 15
14: new org.jasypt.exceptions.EncryptionOperationNotPossibleException
dup
invokespecial org.jasypt.exceptions.EncryptionOperationNotPossibleException.<init>:()V
athrow
15: StackMap locals: byte[] int
StackMap stack:
aload 2
arraylength
aload 0
getfield org.jasypt.digest.StandardByteDigester.digestLengthBytes:I
isub
istore 4
16: goto 21
17: StackMap locals:
StackMap stack:
aload 2
arraylength
aload 0
getfield org.jasypt.digest.StandardByteDigester.digestLengthBytes:I
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
iadd
if_icmpeq 21
18: new org.jasypt.exceptions.EncryptionOperationNotPossibleException
dup
invokespecial org.jasypt.exceptions.EncryptionOperationNotPossibleException.<init>:()V
athrow
19: StackMap locals:
StackMap stack:
aload 2
arraylength
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
if_icmpge 21
20: new org.jasypt.exceptions.EncryptionOperationNotPossibleException
dup
invokespecial org.jasypt.exceptions.EncryptionOperationNotPossibleException.<init>:()V
athrow
21: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.invertPositionOfPlainSaltInEncryptionResults:Z
ifne 25
22: iload 4
newarray 8
astore 3
23: aload 2
iconst_0
aload 3
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
24: goto 29
25: StackMap locals:
StackMap stack:
iload 4
newarray 8
astore 3
26: aload 2
aload 2
arraylength
iload 4
isub
aload 3
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
end local 4 27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltGenerator:Lorg/jasypt/salt/SaltGenerator;
aload 0
getfield org.jasypt.digest.StandardByteDigester.saltSizeBytes:I
invokeinterface org.jasypt.salt.SaltGenerator.generateSalt:(I)[B
astore 3
29: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual org.jasypt.digest.StandardByteDigester.digest:([B[B)[B
astore 4
start local 4 30: aload 4
aload 2
invokestatic org.jasypt.digest.StandardByteDigester.digestsAreEqual:([B[B)Z
31: ireturn
end local 4 end local 3 32: StackMap locals: org.jasypt.digest.StandardByteDigester byte[] byte[]
StackMap stack: java.lang.Exception
pop
33: new org.jasypt.exceptions.EncryptionOperationNotPossibleException
dup
invokespecial org.jasypt.exceptions.EncryptionOperationNotPossibleException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/jasypt/digest/StandardByteDigester;
0 34 1 message [B
0 34 2 digest [B
8 32 3 salt [B
11 27 4 digestSaltSize I
30 32 4 encryptedMessage [B
Exception table:
from to target type
7 31 32 Class java.lang.Exception
MethodParameters:
Name Flags
message final
digest final
private static boolean digestsAreEqual(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
arraylength
istore 2
start local 2 3: aload 1
arraylength
iload 2
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: int int
StackMap stack:
iload 3
aload 0
iload 4
baload
aload 1
iload 4
baload
ixor
ior
istore 3
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 8
end local 4 11: iload 3
ifne 12
iconst_1
ireturn
StackMap locals:
StackMap stack:
12: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 a [B
0 13 1 b [B
3 13 2 aLen I
6 13 3 match I
7 11 4 i I
MethodParameters:
Name Flags
a
b
}
SourceFile: "StandardByteDigester.java"