Commit Graph

13 Commits

Author SHA1 Message Date
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