dc5d3e21f3f7492f96608a96233c791df39a44c9
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method private getCleartextSensitiveHeaderData(header ByteBuffer, headerKey SecretKey) : ByteBuffer from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl to private decryptPayload(ciphertext ByteBuffer, headerKey SecretKey, iv byte[]) : ByteBuffer from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Move And Rename Method private getCiphertextSensitiveHeaderData() : ByteBuffer from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl to public toCiphertextByteBuffer(headerKey SecretKey, iv byte[]) : ByteBuffer from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Move Method | 1 | ||
Move Method private checkHeaderMac(header ByteBuffer, mac Mac) : void from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl to private checkHeaderMac(header ByteBuffer, mac Mac) : void from class org.cryptomator.crypto.engine.impl.FileHeader | From | To | |
Move Attribute | 10 | ||
Move Attribute private AES : String from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl to private AES : String from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Move Attribute private AES_CBC : String from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl to private AES_CBC : String from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Move Attribute private contentKey : SecretKey from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl to private contentKey : SecretKey from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Move Attribute private nonce : byte[] from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl to private nonce : byte[] from class org.cryptomator.crypto.engine.impl.FileHeader | From | To | |
Move Attribute package HEADER_SIZE : int from class org.cryptomator.crypto.engine.impl.FileContentCryptorImpl to package HEADER_SIZE : int from class org.cryptomator.crypto.engine.impl.FileHeader | From | To | |
Move Attribute private nonce : byte[] from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl to private nonce : byte[] from class org.cryptomator.crypto.engine.impl.FileHeader | From | To | |
Move Attribute private AES : String from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl to private AES : String from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Move Attribute private iv : byte[] from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl to private iv : byte[] from class org.cryptomator.crypto.engine.impl.FileHeader | From | To | |
Move Attribute private AES_CBC : String from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl to private AES_CBC : String from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Move Attribute private contentKey : SecretKey from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl to private contentKey : SecretKey from class org.cryptomator.crypto.engine.impl.FileHeaderPayload | From | To | |
Extract Class | 4 | ||
Extract Class org.cryptomator.crypto.engine.impl.FileHeader from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl | From | To | |
Extract Class org.cryptomator.crypto.engine.impl.FileHeaderPayload from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl | From | To | |
Extract Class org.cryptomator.crypto.engine.impl.FileHeaderPayload from class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl | From | To | |
Extract Class org.cryptomator.crypto.engine.impl.FileHeader from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl | From | To | |
Rename Attribute | 1 | ||
Rename Attribute contentKey : SecretKey to header : FileHeader in class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type contentKey : SecretKey to header : FileHeader in class org.cryptomator.crypto.engine.impl.FileContentDecryptorImpl | From | To | |
Change Attribute Type hmacSha256 : ThreadLocal<Mac> to hmacSha256 : ThreadLocalMac in class org.cryptomator.crypto.engine.impl.FileContentEncryptorImpl | From | To |