final class org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor implements org.springframework.security.crypto.encrypt.TextEncryptor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor
super_class: java.lang.Object
{
private final org.springframework.security.crypto.encrypt.BytesEncryptor encryptor;
descriptor: Lorg/springframework/security/crypto/encrypt/BytesEncryptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.springframework.security.crypto.encrypt.BytesEncryptor);
descriptor: (Lorg/springframework/security/crypto/encrypt/BytesEncryptor;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor this
start local 1 // org.springframework.security.crypto.encrypt.BytesEncryptor encryptor
0: .line 33
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 34
aload 0 /* this */
aload 1 /* encryptor */
putfield org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.encryptor:Lorg/springframework/security/crypto/encrypt/BytesEncryptor;
2: .line 35
return
end local 1 // org.springframework.security.crypto.encrypt.BytesEncryptor encryptor
end local 0 // org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/security/crypto/encrypt/HexEncodingTextEncryptor;
0 3 1 encryptor Lorg/springframework/security/crypto/encrypt/BytesEncryptor;
MethodParameters:
Name Flags
encryptor
public java.lang.String encrypt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor this
start local 1 // java.lang.String text
0: .line 39
new java.lang.String
dup
aload 0 /* this */
getfield org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.encryptor:Lorg/springframework/security/crypto/encrypt/BytesEncryptor;
aload 1 /* text */
invokestatic org.springframework.security.crypto.codec.Utf8.encode:(Ljava/lang/CharSequence;)[B
invokeinterface org.springframework.security.crypto.encrypt.BytesEncryptor.encrypt:([B)[B
invokestatic org.springframework.security.crypto.codec.Hex.encode:([B)[C
invokespecial java.lang.String.<init>:([C)V
areturn
end local 1 // java.lang.String text
end local 0 // org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/security/crypto/encrypt/HexEncodingTextEncryptor;
0 1 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
public java.lang.String decrypt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor this
start local 1 // java.lang.String encryptedText
0: .line 44
aload 0 /* this */
getfield org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.encryptor:Lorg/springframework/security/crypto/encrypt/BytesEncryptor;
aload 1 /* encryptedText */
invokestatic org.springframework.security.crypto.codec.Hex.decode:(Ljava/lang/CharSequence;)[B
invokeinterface org.springframework.security.crypto.encrypt.BytesEncryptor.decrypt:([B)[B
invokestatic org.springframework.security.crypto.codec.Utf8.decode:([B)Ljava/lang/String;
areturn
end local 1 // java.lang.String encryptedText
end local 0 // org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/security/crypto/encrypt/HexEncodingTextEncryptor;
0 1 1 encryptedText Ljava/lang/String;
MethodParameters:
Name Flags
encryptedText
}
SourceFile: "HexEncodingTextEncryptor.java"