Commit Graph

22 Commits

Author SHA1 Message Date
Carter Jernigan 90aa3eaf79
[#25] Enable strict Kotlin compiler warnings
Fixed existing warnings, which included:
 - Suppressing a deprecation warning for Java 9, as we have to maintain compatibility with Java 8 for Android
 - Using a new Kotlin API introduced in Kotlin 1.5
 - Removed unused local variables
2022-04-25 11:55:31 -04:00
Carter Jernigan 8fc703adf1 [#31] Configure multiplatform build scripts 2022-04-21 10:58:24 -04:00
Carter Jernigan 3f24445329 [#31] Rename source directories 2022-04-21 10:52:38 -04:00
Carter Jernigan 93afba2b76 [#19] Version catalog 2022-04-21 10:52:38 -04:00
Carter Jernigan 08fa562456 [#18] Convert build scripts to kts 2022-04-21 10:52:38 -04:00
Carter Jernigan 7497d16b9b [#11] Remove duplicate Gradle wrapper 2022-04-20 15:43:54 -04:00
Kevin Gorham b685c3be8a
Merge pull request #6 from zcash/fix/exit-jcenter
Migrated to Maven Central.
2021-03-11 15:59:14 -05:00
Kevin Gorham d7c37957a2
Migrated to Maven Central. 2021-03-11 15:58:39 -05:00
Dimitris Apostolou 460f3a3e5f
Fix typo 2020-12-20 23:53:09 +02:00
Kevin Gorham 8bbb0ffedb
Update the only dependency: Kotlin. 2020-09-19 03:42:37 -04:00
Kevin Gorham 7f60fb656e
New: Add support for older devices.
Some devices may not have the java crypto libraries available, particularly on Android API versions lower than 23. Unfortunately, this can render a wallet unable to be used on those devices because keys cannot be generated. This PR changes that and allows fall back crypto implementations to be used whenever the defaults are missing.
2020-09-19 03:37:12 -04:00
Kevin Gorham 640c458fdb
Add cryto files to use in the absence of Java crypto libs. 2020-09-19 03:35:10 -04:00
Kevin Gorham 300e25dba9
Fix: Conversion to list.
When converting from an array of characters into a list of words, there was an off-by-one error that was causing the words to display incorrectly. This issue did not effect the seed that was used it only impacted the display. The problem has been fixed and the tests updated to catch this type of problem in the future.
2020-06-11 20:15:26 -04:00
Kevin Gorham abd9fa4da7
Pulled publish settings into separate file.
So that it is easier to reuse this in our other similar projects.
2020-06-06 20:20:35 -04:00
Kevin Gorham 739deab7d0
Updated repository name and distribution.
Changed from 'android-bip39' to 'kotlin-bip39' because this can be used anywhere that Kotlin can be used.
2020-06-06 18:29:25 -04:00
Kevin Gorham 85bb896549
Refactored toEntropy and added missing/failing test scenarios. 2020-06-06 18:19:36 -04:00
Kevin Gorham 3603234999
Cleaned up the optional conversion to list of words. 2020-06-06 01:37:22 -04:00
Kevin Gorham ada0c1d2a9
Improvements and simplification. Tests now run about 4X faster.
Replaced PBKDF2 implementation with Java standard also Kotlinized @ebfull's Rust implementation of computeSentence.
2020-06-06 00:14:35 -04:00
Kevin Gorham 227d5e7af4
Update Readme to reflect bintray version. 2020-06-04 14:13:03 -04:00
Kevin Gorham fd24dccab3
Add ability to publish to bintray.
Also pushed artifacts to bintray.
2020-06-04 12:54:55 -04:00
Kevin Gorham 3998dd61ae
Implementation is functionally complete.
All tests now pass. The next step is to publish the library artifacts and then setup CI.
2020-06-04 07:22:43 -04:00
Kevin Gorham bda52047eb
Initial commit of failing tests.
Next step is to write the functionality that would make these tests pass.
2020-06-01 02:01:37 -04:00