Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nhachicha/realm-kotlin-jvm-encryption-poc
- Owner: nhachicha
- Created: 2024-01-25T15:07:38.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-01T10:51:58.000Z (9 months ago)
- Last Synced: 2024-03-01T11:47:43.077Z (9 months ago)
- Language: Kotlin
- Size: 15.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 IDEANavigate 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
```