kildishevps
c5e91fc8ee
Moved all wasmJs to runningOnLinuxx in gradle, deleted unneded TODOS and dependencies
2025-01-22 23:29:47 +03:00
kildishevps
c6946c90b4
Fixed Throable cast error and changed gradle version in one more place
2025-01-22 23:24:23 +03:00
59f2d77890
Problem with 1.9.23 KMP version. It's been fixed in 2.0 so it needs to be updated
2025-01-22 23:24:20 +03:00
bd83e9aee0
Changed gradle files to be like in test project, wasmJsBrowser run appeared. Also added wasmJs to crypto-api gradle
2025-01-22 23:23:17 +03:00
Renee Vandervelde
bd3cbb1662
Cleanup deprecated methods.
...
Noticed a handful of deprecated methods and minor warnings while looking around.
Replaces with recommended methods
2024-07-02 09:50:45 -05:00
Renee Vandervelde
77445bb5cf
Fix Equality Check in XChaCha20EncryptionResult
...
The `XChaCha20EncryptionResult` data class currently implements
its own equality check due to the class's byte array members.
However, this is using a standard equality check, `==`, rather
than checking the array's contents. This will cause two results
with the same contained values to return `false` on an equals check.
Confirmed this issue with a unit test, and fixed by changing the
implemented method to use `contentEquals` instead.
2024-06-14 21:11:29 -05:00
Ugljesa Jovanovic
34afd86d43
Remove deprecated watchosX86
2023-09-23 12:40:09 +02:00
Ugljesa Jovanovic
194994f5b2
Update kotlin to 1.9.10, update library versions, use latest libsodium stable, clean up Deps, remove deprecated targets, change PasswordHash str related functions to use String
2023-09-23 11:54:02 +02:00
Ugljesa Jovanovic
1cfa03a18f
Kotlin 1.8.10 + maintenance ( #37 )
...
* Update libsodium submodule, bump kotlin versions, switch to github actions
2023-03-26 19:12:15 +02:00
Ugljesa Jovanovic
16f6a3109e
Fix dokka issues, some formatting
2022-08-29 09:31:39 +02:00
Ugljesa Jovanovic
a15be35197
Update to kotlin 1.7.10, remove test dependancy from common source set, cleanup some old comments
2022-08-28 20:03:25 +02:00
Ugljesa Jovanovic
3bb56115f3
Updated jvm jna libraries, README
2021-09-23 19:20:57 +02:00
Ugljesa Jovanovic
d6945979a9
Update dokka, update resource extractor, update js wrapper versions, remove js from sample as gradle cant find libs when building
2021-07-19 19:29:26 +02:00
Ugljesa Jovanovic
8e295feb46
At least IR browseer tests can now be run
2021-02-09 14:41:08 +01:00
Ugljesa Jovanovic
15b2793acf
Remove dokka javadoc for now
2021-01-09 23:42:30 +01:00
Ugljesa Jovanovic
a70bb5243c
Bump dokka, update dokka calls, add test md package and module docs
2020-11-17 23:27:49 +01:00
Ugljesa Jovanovic
4490f21c89
Split docs for bindings and standalone implementations
2020-10-03 18:49:08 +02:00
Ugljesa Jovanovic
0431f27e3e
Completed random support functions
2020-10-03 18:16:26 +02:00
Ugljesa Jovanovic
3de04749ba
Change all occurences of additionalData to associatedData
2020-08-30 11:56:18 +02:00
Ugljesa Jovanovic
0ab54a6048
Dokka sourceset definition
2020-08-09 14:35:20 +02:00
Ugljesa Jovanovic
0883ddf801
Updated dokka
2020-08-02 18:34:45 +02:00
Ugljesa Jovanovic
8b3b94df3a
Switch to latest BigInteger, use new byte conversion api
2020-07-26 20:21:37 +02:00
Ugljesa Jovanovic
278e11b315
Remove conversion methods that acctually already existed and worked in standard library
2020-07-17 12:30:15 +02:00
Ugljesa Jovanovic
52b6a4ad8e
Add state cleanup for delegated and pure. There doesn't seem to be a easy way to clean js state
2020-07-10 22:08:08 +02:00
Ugljesa Jovanovic
55b5641f14
Add high level AEAD tests, implement missing initializations, implement pure decryption
2020-07-09 23:44:30 +02:00
Ugljesa Jovanovic
5d3c14de2f
Use unsafe cast instead of conversion that creates new array
2020-07-07 21:47:10 +02:00
Ugljesa Jovanovic
9751f80347
Experiment with asByteArray()
2020-07-07 21:19:20 +02:00
Ugljesa Jovanovic
71ec5b7585
Remove coroutines
2020-07-05 19:40:22 +02:00
Ugljesa Jovanovic
8625002ea4
Api cleanup continued
2020-07-04 22:39:00 +02:00
Ugljesa Jovanovic
2db5523893
Cleanup 1
2020-07-04 19:05:15 +02:00
Ugljesa Jovanovic
e6f560ba8e
Working single shot xchacha20poly1305 encryption and decryption in delegated flavour
2020-06-27 18:20:53 +02:00
Ugljesa Jovanovic
6228263978
Further progress on delegated xchacha poly, working jvm , js in progress
2020-06-25 21:16:14 +02:00
Ugljesa Jovanovic
1848de0e8d
Further API conversion
2020-06-23 21:39:04 +02:00
Ugljesa Jovanovic
233ee1bf55
Multipart API continuation
2020-06-23 19:54:30 +02:00
Ugljesa Jovanovic
e24f0a29f2
Dropping AES gcm from public api as it's not portable in libsodium and going the xchacha20poly1305 as only AEAD
2020-06-14 17:05:28 +02:00
Ugljesa Jovanovic
5c10d3abf4
Removing direct aes cbc and ctr, to reduce foot shooting incidents, introducing aes256-gcm
2020-06-14 12:49:46 +02:00
Ugljesa Jovanovic
0b30215143
Initial AES-CTR API refactoring
2020-06-13 21:48:21 +02:00
Ugljesa Jovanovic
a3cb4f653a
Use dev version of dokka because we are in 1.4-M2
2020-06-13 18:16:43 +02:00
Ugljesa Jovanovic
197aacac33
Built and included modified libsodium with additional wrappers, working blake, sha256/512 hashes
2020-06-09 20:30:12 +02:00
Ugljesa Jovanovic
3a81d8e57c
More changes to get intellij to reconize cinterop in native sourceset
2020-06-07 17:18:41 +02:00
Ugljesa Jovanovic
9c9383d54f
Removed digest from stateless has interface and pushed it down, as some hashes don't support keys or different hash lengths
2020-06-07 11:59:46 +02:00
Ugljesa Jovanovic
f03e94cf5e
Api cleanup
2020-06-07 00:37:09 +02:00
Ugljesa Jovanovic
25adc330bd
Remove digestString from api
2020-06-07 00:05:14 +02:00
Ugljesa Jovanovic
e61ffdf978
Cleaning up and implementing api
2020-06-07 00:02:53 +02:00
Ugljesa Jovanovic
3ad86e284a
Remove all annotations
2020-06-05 20:13:21 +02:00
Ugljesa Jovanovic
d901a45b87
Playing around with the API, added optins, will remove annotations in next commit
2020-06-05 20:09:38 +02:00
Ugljesa Jovanovic
d11d4e7fb0
Working arm 64 libsodium integration
2020-06-05 16:27:58 +02:00
Ugljesa Jovanovic
9e16c2a6bd
sodium wrapper rework
2020-06-01 19:37:07 +02:00
Ugljesa Jovanovic
fa080f28d8
Arm 64 build local configure for now, adding 32bit native sourceset, not connected yet
2020-06-01 15:16:47 +02:00
Ugljesa Jovanovic
66efe1b40c
Solve mac builds for tvos and watchos failing because they wanted some common imaginary common/metadata klib again
2020-06-01 12:53:53 +02:00