-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 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 |
---|---|---|
@@ -1,6 +1,20 @@ | ||
# okio-extensions | ||
A set of Okio extensions to work with various data formats. | ||
|
||
```groovy | ||
allprojects { | ||
repositories { | ||
... | ||
maven { url 'https://jitpack.io' } | ||
} | ||
} | ||
dependencies { | ||
compile 'com.github.erickok:okio-extensions:v1.0' | ||
} | ||
``` | ||
|
||
Written in Kotlin, works on plain Java (JVM) and Android. | ||
|
||
## `Base64Source` and `Base64Sink` | ||
|
@@ -59,6 +73,8 @@ Encrypt and decrypt data in a streaming fashion using the Java platform's [Ciphe | |
|
||
Think javax.crypto's standard [CipherInputStream and CipherOutputStream](https://docs.oracle.com/javase/7/docs/api/javax/crypto/package-summary.html) but for Okio `Source`s and `Sink`s. | ||
|
||
`CipherSource` and `CipherSink` are tested and used in production with AES ciphers, but should work (without warrenty) with any Java-supported Cipher algorithm. | ||
|
||
## License and credits | ||
Designed and developed by [Eric Kok](mailto:[email protected]) of [2312 development](http://2312.nl). | ||
|
||
|