Skip to content

Commit d9d5388

Browse files
authoredAug 13, 2024
Encryption Example (#1)
* 00: add readme Signed-off-by: Denis Dobanda <denis.dobanda@exxeta.com> * 00: add initial keystore example Signed-off-by: Denis Dobanda <denis.dobanda@exxeta.com> * 00: implement crypto toolbox Signed-off-by: Denis Dobanda <denis.dobanda@exxeta.com> --------- Signed-off-by: Denis Dobanda <denis.dobanda@exxeta.com> Co-authored-by: Denis Dobanda <denis.dobanda@exxeta.com>
1 parent ef6bdc2 commit d9d5388

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1105
-1
lines changed
 

‎Keystore-Example/.gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

‎Keystore-Example/REAMDE.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Example of encryption using Keystore
2+
3+
## Description
4+
5+
This project shows an example of how to use the Android Keystore to encrypt and
6+
decrypt String values.
7+
8+
See full example
9+
in [CryptoToolboxImpl](./app/src/main/java/com/exxeta/keystoreexample/CryptoToolboxImpl.kt)
10+
class
11+
12+
## How to use the project
13+
14+
The project was tested on Android 14. Use latest Android Studio version
15+
16+
## Structure of the project
17+
18+
### `CryptoToolbox`
19+
20+
Interface for a CryptoToolbox
21+
22+
### `CryptoToolboxImpl`
23+
24+
Implementation of CryptoToolbox. Use it as it seems fit
25+
26+
### `EncryptionException`
27+
28+
An exception class to use in CryptoToolbox

0 commit comments

Comments
 (0)
Please sign in to comment.