Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nhachicha/realm-kotlin-jvm-encryption-poc

Demonstrate passing the encryption key as a callback https://github.com/realm/realm-kotlin/pull/1636
https://github.com/nhachicha/realm-kotlin-jvm-encryption-poc

Last synced: 3 days ago
JSON representation

Demonstrate passing the encryption key as a callback https://github.com/realm/realm-kotlin/pull/1636

Awesome Lists containing this project

README

        

# Simple Java Console Application using Realm-Kotlin.

This application demonstrates the usage of Realm Kotlin SDK in a regular console app (no Multiplatform).
It is powered by Kotlin/JVM support from Realm-Kotlin SDK.

It uses also an experimental feature of encryption which uses a callback to provide the AES key from native memory, it also disposes of the key after the Realm is open.
## Run from IntelliJ IDEA

Navigate to `src/main/kotlin/io.realm/example/main.kt`
Click on `Run MainKt`

## Standalone jar

```Gradle
./gradlew --refresh-dependencies clean jar
java -jar build/libs/JVM_Console-1.0.0.jar
```