mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 15:10:45 +00:00
Reformating to fix checkstyle.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -81,7 +81,9 @@ public class HarmanBinaryDataEncrypt {
|
||||
|
||||
System.arraycopy(keyBytes, 0, result, 16, 16);
|
||||
System.arraycopy(encryptedBytes, 0, result, 32, encryptedDataLen);
|
||||
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException | NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException | NoSuchPaddingException ex) {
|
||||
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException
|
||||
| NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException
|
||||
| NoSuchPaddingException ex) {
|
||||
result = null;
|
||||
}
|
||||
return result;
|
||||
@@ -170,7 +172,9 @@ public class HarmanBinaryDataEncrypt {
|
||||
byte[] ret = new byte[(int) decryptedLen];
|
||||
System.arraycopy(decryptedBytes, 0, ret, 0, (int) decryptedLen);
|
||||
return ret;
|
||||
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException | NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException | NoSuchPaddingException ex) {
|
||||
} catch (UnsupportedEncodingException | InvalidAlgorithmParameterException | InvalidKeyException
|
||||
| NoSuchAlgorithmException | BadPaddingException | IllegalBlockSizeException
|
||||
| NoSuchPaddingException ex) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2024 JPEXS, All rights reserved.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3.0 of the License, or (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
@@ -35,8 +35,9 @@ import javax.crypto.spec.SecretKeySpec;
|
||||
|
||||
/**
|
||||
* Harman SWF encryption/decryption.
|
||||
* @author JPEXS
|
||||
*
|
||||
* @author JPEXS
|
||||
* <p>
|
||||
* Based on swfdecrypt.py by NathaanTFM
|
||||
*/
|
||||
public class HarmanSwfEncrypt {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Harman.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.harman;
|
||||
package com.jpexs.decompiler.flash.harman;
|
||||
|
||||
Reference in New Issue
Block a user