-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update cipher library * update README.md * Remove travis conf * Remove codecov * Create some more tests * Refactoring * Update pom in order to publish artifacts in mvn central repositories * Update README.md * Update README.md * improve PasswordDeriveBytes syntax code
- Loading branch information
1 parent
5967d5a
commit 0fdd310
Showing
10 changed files
with
562 additions
and
670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.idea | ||
target |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,90 @@ | ||
[![Build Status](https://travis-ci.org/Proteus1989/Air-Explorer-Decrypter.svg?branch=master)](https://travis-ci.org/Proteus1989/Air-Explorer-Decrypter) | ||
[![Codecov](https://img.shields.io/codecov/c/github/Proteus1989/Air-Explorer-Decrypter)](https://codecov.io/gh/Proteus1989/Air-Explorer-Decrypter) | ||
[![license: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/Proteus1989/Air-Explorer-Decrypter/blob/master/LICENSE) | ||
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Proteus1989/Air-Explorer-Decrypter)](https://github.com/Proteus1989/Air-Explorer-Decrypter/releases/latest) | ||
[![Maven Central](https://img.shields.io/maven-central/v/com.github.proteus1989/AirExplorerDecrypter.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.proteus1989%22%20AND%20a:%22AirExplorerDecrypter%22) | ||
[![Github All Releases](https://img.shields.io/github/downloads/Proteus1989/Air-Explorer-Decrypter/total)](https://github.com/Proteus1989/Air-Explorer-Decrypter/releases) | ||
|
||
# Air Explorer Decrypter | ||
Java API able to decrypts Air Explorer encrypted files. This project includes simple graphic client binaries. | ||
|
||
Java library able to decrypt Air Explorer encrypted files. This README includes simple graphic client binaries. | ||
|
||
## Getting Started | ||
|
||
### Prerequisites | ||
|
||
At least, Oracle JRE 1.8 is needed. | ||
At least, JDK 1.8 is needed. | ||
|
||
### GUI Client | ||
|
||
To run a GUI client just execute **AirExplorerFileDecrypter-v1.2.jar** file.<br> | ||
[Download latest GUI client build](https://github.com/Proteus1989/Air-Explorer-Decrypter/releases/download/1.0.0/AirExplorerFileDecrypter-v1.2.jar) | ||
|
||
### API Usage | ||
### Library Usage | ||
|
||
#### Importing the library | ||
|
||
##### Maven | ||
|
||
``` | ||
<dependency> | ||
<groupId>com.github.proteus1989</groupId> | ||
<artifactId>AirExplorerDecrypter</artifactId> | ||
<version>1.0.1</version> | ||
<version>2.0.0</version> | ||
</dependency> | ||
``` | ||
|
||
##### Gradle | ||
|
||
``` | ||
implementation 'com.github.proteus1989:AirExplorerDecrypter:1.0.1' | ||
implementation 'com.github.proteus1989:AirExplorerDecrypter:2.0.0' | ||
``` | ||
#### Calling the API | ||
|
||
#### Examples | ||
|
||
- Decrypting file name | ||
```java | ||
AirExplorerDecrypterAPI.decryptName("encryptedFileName(.cloudencoded2)", "file_password") | ||
|
||
``` | ||
AirExplorerDecrypter.decryptName("encryptedFileName(.cloudencoded2)", "file_password") | ||
``` | ||
|
||
- Decrypting a file | ||
```java | ||
AirExplorerDecrypterAPI.decrytp(new File("file_path"), "file_password") | ||
|
||
``` | ||
AirExplorerDecrypter.decrypt(new File("file_path"), "file_password") | ||
``` | ||
|
||
- Decrypting a file into a specific directory | ||
|
||
``` | ||
AirExplorerDecrypter.decrypt(new File("file_path"), new File("dst_folder"), "file_password") | ||
``` | ||
```java | ||
AirExplorerDecrypterAPI.decrytp(new File("file_path"), new File("dst_folder"), "file_password") | ||
|
||
- Consuming an encrypted input stream, decrypt it and send it to a custom output stream | ||
|
||
``` | ||
AirExplorerDecrypter.decrypt(your_input_stream, your_output_stream, "file_password") | ||
``` | ||
```java | ||
AirExplorerDecrypterAPI.decrytp(your_input_stream, your_output_stream, "file_password") | ||
|
||
- Creating an AirExplorerInputStream to wrapper and consume an encrypted stream | ||
``` | ||
InputStream AirExplorerInputStream = new AirExplorerInputStream(your_input_stream, "file_password") | ||
``` | ||
[Download latest API build](https://github.com/Proteus1989/Air-Explorer-Decrypter/releases/latest) | ||
|
||
[Download the latest build](https://github.com/Proteus1989/Air-Explorer-Decrypter/releases/latest) | ||
|
||
## Authors | ||
|
||
* **Antonio Suárez** - *Initial work* - [Proteus1989](https://github.com/Proteus1989) | ||
* **Antonio Suárez** - *Initial work and maintainer* - [Proteus1989](https://github.com/Proteus1989) | ||
|
||
See also the list of [contributors](https://github.com/Proteus1989/Air-Explorer-Decrypter/contributors) who participated in this project. | ||
See also the list of [contributors](https://github.com/Proteus1989/Air-Explorer-Decrypter/contributors) who participated | ||
in this project. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details | ||
|
||
## Acknowledgments | ||
|
||
MS original PasswordDeriveBytes class contains a nonstandard extension of the PBKDF1 algorithm. Therefore, MS PasswordDeriveBytes is different of normal BKDF1. | ||
Special thanks to **gilchris** for Java PasswordDeriveBytes port. Available at https://github.com/gilchris/PasswordDeriveBytesForJava. | ||
MS original PasswordDeriveBytes class contains a nonstandard extension of the PBKDF1 algorithm. Therefore, MS | ||
PasswordDeriveBytes is different of normal BKDF1. | ||
Special thanks to **gilchris** for Java PasswordDeriveBytes port. Available | ||
at https://github.com/gilchris/PasswordDeriveBytesForJava. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.