Skip to content

Commit

Permalink
doc: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd authored Feb 16, 2024
1 parent 0ee00ce commit cf38dd6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ A command line util for encrypting and decrypting resource packs.

## Usage

Download the latest executable file from github action

### Encryption

Command: `java -jar EncryptMyPack.jar encrypt <inputZip> <outputZip> [key]`
Command: `EncryptMyPack.exe encrypt <inputZip> <outputZip> [key]`

1. The key should be a 32 character long string. If you don't provide a key, the key will be `liulihaocai123456789123456789123`

Expand All @@ -23,7 +25,7 @@ After the encryption, a `contents.json` should now be in output zip file, and th

### Decryption

Command: `java -jar EncryptMyPack.jar decrypt <inputZip> <outputZip> <key>`
Command: `EncryptMyPack.exe decrypt <inputZip> <outputZip> <key>`

1. Again, the key should be a 32 character long string.
2. To decrypt the pack, you must provide its key
Expand All @@ -39,4 +41,4 @@ So you should set up graalvm and set project JDK to graalvm before building
Thanks to [mcrputil](https://github.com/valaphee/mcrputil) for their great work!

## License
LGPL-3.0 © AllayMC
LGPL-3.0 © AllayMC

0 comments on commit cf38dd6

Please sign in to comment.