9beb51108c3b853ebf101c53b8ea509ef209db93
Files Diff
- Added: 1
- Removed: 4
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type secret : byte[] to key : CryptoKey in method public encrypt(data byte[], key CryptoKey) : byte[] in class org.rapidoid.crypto.Crypto | From | To | |
| Change Parameter Type secret : byte[] to key : CryptoKey in method public decrypt(data byte[], key CryptoKey) : byte[] in class org.rapidoid.crypto.Crypto | From | To | |
| Move Method | 2 | ||
| Move Method private getPBKDFInstance() : SecretKeyFactory from class org.rapidoid.crypto.CryptoUtil to private getPBKDFInstance() : SecretKeyFactory from class org.rapidoid.crypto.Crypto | From | To | |
| Move Method private calcAESKeyLength() : int from class org.rapidoid.crypto.CryptoUtil to private calcAESKeyLength() : int from class org.rapidoid.crypto.AESCypherTool | From | To | |
| Change Return Type | 1 | ||
| Change Return Type byte[] to CryptoKey in method public getSecretKey() : CryptoKey in class org.rapidoid.crypto.Crypto | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private HMAC_SHA_256 : String from class org.rapidoid.crypto.CryptoUtil to private HMAC_SHA_256 : String from class org.rapidoid.crypto.Crypto | From | To | |
| Move Attribute public AES_KEY_LENGTH : int from class org.rapidoid.crypto.CryptoUtil to package AES_KEY_LENGTH : int from class org.rapidoid.crypto.AESCypherTool | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type secretKey : byte[] to secretKey : CryptoKey in class org.rapidoid.crypto.Crypto | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter secret : byte[] to key : CryptoKey in method public decrypt(data byte[], key CryptoKey) : byte[] in class org.rapidoid.crypto.Crypto | From | To | |
| Rename Parameter secret : byte[] to key : CryptoKey in method public encrypt(data byte[], key CryptoKey) : byte[] in class org.rapidoid.crypto.Crypto | From | To |