obcrypt 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,601 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "aead"
7
+ version = "0.5.2"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
10
+ dependencies = [
11
+ "crypto-common",
12
+ "generic-array",
13
+ ]
14
+
15
+ [[package]]
16
+ name = "aes"
17
+ version = "0.8.4"
18
+ source = "registry+https://github.com/rust-lang/crates.io-index"
19
+ checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
20
+ dependencies = [
21
+ "cfg-if",
22
+ "cipher",
23
+ "cpufeatures",
24
+ ]
25
+
26
+ [[package]]
27
+ name = "aes-gcm-siv"
28
+ version = "0.11.1"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "ae0784134ba9375416d469ec31e7c5f9fa94405049cf08c5ce5b4698be673e0d"
31
+ dependencies = [
32
+ "aead",
33
+ "aes",
34
+ "cipher",
35
+ "ctr",
36
+ "polyval",
37
+ "subtle",
38
+ "zeroize",
39
+ ]
40
+
41
+ [[package]]
42
+ name = "aes-siv"
43
+ version = "0.7.0"
44
+ source = "registry+https://github.com/rust-lang/crates.io-index"
45
+ checksum = "7e08d0cdb774acd1e4dac11478b1a0c0d203134b2aab0ba25eb430de9b18f8b9"
46
+ dependencies = [
47
+ "aead",
48
+ "aes",
49
+ "cipher",
50
+ "cmac",
51
+ "ctr",
52
+ "dbl",
53
+ "digest",
54
+ "zeroize",
55
+ ]
56
+
57
+ [[package]]
58
+ name = "block-buffer"
59
+ version = "0.10.4"
60
+ source = "registry+https://github.com/rust-lang/crates.io-index"
61
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
62
+ dependencies = [
63
+ "generic-array",
64
+ ]
65
+
66
+ [[package]]
67
+ name = "block-padding"
68
+ version = "0.3.3"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93"
71
+ dependencies = [
72
+ "generic-array",
73
+ ]
74
+
75
+ [[package]]
76
+ name = "bumpalo"
77
+ version = "3.20.2"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb"
80
+
81
+ [[package]]
82
+ name = "cbc"
83
+ version = "0.1.2"
84
+ source = "registry+https://github.com/rust-lang/crates.io-index"
85
+ checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6"
86
+ dependencies = [
87
+ "cipher",
88
+ ]
89
+
90
+ [[package]]
91
+ name = "cfg-if"
92
+ version = "1.0.4"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
95
+
96
+ [[package]]
97
+ name = "cipher"
98
+ version = "0.4.4"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
101
+ dependencies = [
102
+ "crypto-common",
103
+ "inout",
104
+ ]
105
+
106
+ [[package]]
107
+ name = "cmac"
108
+ version = "0.7.2"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "8543454e3c3f5126effff9cd44d562af4e31fb8ce1cc0d3dcd8f084515dbc1aa"
111
+ dependencies = [
112
+ "cipher",
113
+ "dbl",
114
+ "digest",
115
+ ]
116
+
117
+ [[package]]
118
+ name = "cpufeatures"
119
+ version = "0.2.17"
120
+ source = "registry+https://github.com/rust-lang/crates.io-index"
121
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
122
+ dependencies = [
123
+ "libc",
124
+ ]
125
+
126
+ [[package]]
127
+ name = "crypto-common"
128
+ version = "0.1.7"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
131
+ dependencies = [
132
+ "generic-array",
133
+ "rand_core",
134
+ "typenum",
135
+ ]
136
+
137
+ [[package]]
138
+ name = "ctr"
139
+ version = "0.9.2"
140
+ source = "registry+https://github.com/rust-lang/crates.io-index"
141
+ checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835"
142
+ dependencies = [
143
+ "cipher",
144
+ ]
145
+
146
+ [[package]]
147
+ name = "dbl"
148
+ version = "0.3.2"
149
+ source = "registry+https://github.com/rust-lang/crates.io-index"
150
+ checksum = "bd2735a791158376708f9347fe8faba9667589d82427ef3aed6794a8981de3d9"
151
+ dependencies = [
152
+ "generic-array",
153
+ ]
154
+
155
+ [[package]]
156
+ name = "digest"
157
+ version = "0.10.7"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
160
+ dependencies = [
161
+ "block-buffer",
162
+ "crypto-common",
163
+ "subtle",
164
+ ]
165
+
166
+ [[package]]
167
+ name = "futures-core"
168
+ version = "0.3.32"
169
+ source = "registry+https://github.com/rust-lang/crates.io-index"
170
+ checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
171
+
172
+ [[package]]
173
+ name = "futures-task"
174
+ version = "0.3.32"
175
+ source = "registry+https://github.com/rust-lang/crates.io-index"
176
+ checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
177
+
178
+ [[package]]
179
+ name = "futures-util"
180
+ version = "0.3.32"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
183
+ dependencies = [
184
+ "futures-core",
185
+ "futures-task",
186
+ "pin-project-lite",
187
+ "slab",
188
+ ]
189
+
190
+ [[package]]
191
+ name = "generic-array"
192
+ version = "0.14.7"
193
+ source = "registry+https://github.com/rust-lang/crates.io-index"
194
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
195
+ dependencies = [
196
+ "typenum",
197
+ "version_check",
198
+ ]
199
+
200
+ [[package]]
201
+ name = "getrandom"
202
+ version = "0.2.17"
203
+ source = "registry+https://github.com/rust-lang/crates.io-index"
204
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
205
+ dependencies = [
206
+ "cfg-if",
207
+ "js-sys",
208
+ "libc",
209
+ "wasi",
210
+ "wasm-bindgen",
211
+ ]
212
+
213
+ [[package]]
214
+ name = "heck"
215
+ version = "0.5.0"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
218
+
219
+ [[package]]
220
+ name = "hex"
221
+ version = "0.4.3"
222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
223
+ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
224
+
225
+ [[package]]
226
+ name = "inout"
227
+ version = "0.1.4"
228
+ source = "registry+https://github.com/rust-lang/crates.io-index"
229
+ checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
230
+ dependencies = [
231
+ "block-padding",
232
+ "generic-array",
233
+ ]
234
+
235
+ [[package]]
236
+ name = "js-sys"
237
+ version = "0.3.98"
238
+ source = "registry+https://github.com/rust-lang/crates.io-index"
239
+ checksum = "67df7112613f8bfd9150013a0314e196f4800d3201ae742489d999db2f979f08"
240
+ dependencies = [
241
+ "cfg-if",
242
+ "futures-util",
243
+ "once_cell",
244
+ "wasm-bindgen",
245
+ ]
246
+
247
+ [[package]]
248
+ name = "libc"
249
+ version = "0.2.186"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
252
+
253
+ [[package]]
254
+ name = "obcrypt"
255
+ version = "0.1.1"
256
+ dependencies = [
257
+ "aead",
258
+ "aes",
259
+ "aes-gcm-siv",
260
+ "aes-siv",
261
+ "cbc",
262
+ "cipher",
263
+ "getrandom",
264
+ "hex",
265
+ "rand",
266
+ "thiserror",
267
+ "zeroize",
268
+ ]
269
+
270
+ [[package]]
271
+ name = "obcrypt-py"
272
+ version = "0.0.1"
273
+ dependencies = [
274
+ "obcrypt",
275
+ "pyo3",
276
+ ]
277
+
278
+ [[package]]
279
+ name = "once_cell"
280
+ version = "1.21.4"
281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
282
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
283
+
284
+ [[package]]
285
+ name = "opaque-debug"
286
+ version = "0.3.1"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
289
+
290
+ [[package]]
291
+ name = "pin-project-lite"
292
+ version = "0.2.17"
293
+ source = "registry+https://github.com/rust-lang/crates.io-index"
294
+ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
295
+
296
+ [[package]]
297
+ name = "polyval"
298
+ version = "0.6.2"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+ checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25"
301
+ dependencies = [
302
+ "cfg-if",
303
+ "cpufeatures",
304
+ "opaque-debug",
305
+ "universal-hash",
306
+ ]
307
+
308
+ [[package]]
309
+ name = "portable-atomic"
310
+ version = "1.13.1"
311
+ source = "registry+https://github.com/rust-lang/crates.io-index"
312
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
313
+
314
+ [[package]]
315
+ name = "ppv-lite86"
316
+ version = "0.2.21"
317
+ source = "registry+https://github.com/rust-lang/crates.io-index"
318
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
319
+ dependencies = [
320
+ "zerocopy",
321
+ ]
322
+
323
+ [[package]]
324
+ name = "proc-macro2"
325
+ version = "1.0.106"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
328
+ dependencies = [
329
+ "unicode-ident",
330
+ ]
331
+
332
+ [[package]]
333
+ name = "pyo3"
334
+ version = "0.28.3"
335
+ source = "registry+https://github.com/rust-lang/crates.io-index"
336
+ checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
337
+ dependencies = [
338
+ "libc",
339
+ "once_cell",
340
+ "portable-atomic",
341
+ "pyo3-build-config",
342
+ "pyo3-ffi",
343
+ "pyo3-macros",
344
+ ]
345
+
346
+ [[package]]
347
+ name = "pyo3-build-config"
348
+ version = "0.28.3"
349
+ source = "registry+https://github.com/rust-lang/crates.io-index"
350
+ checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
351
+ dependencies = [
352
+ "target-lexicon",
353
+ ]
354
+
355
+ [[package]]
356
+ name = "pyo3-ffi"
357
+ version = "0.28.3"
358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
359
+ checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
360
+ dependencies = [
361
+ "libc",
362
+ "pyo3-build-config",
363
+ ]
364
+
365
+ [[package]]
366
+ name = "pyo3-macros"
367
+ version = "0.28.3"
368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
370
+ dependencies = [
371
+ "proc-macro2",
372
+ "pyo3-macros-backend",
373
+ "quote",
374
+ "syn",
375
+ ]
376
+
377
+ [[package]]
378
+ name = "pyo3-macros-backend"
379
+ version = "0.28.3"
380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
381
+ checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
382
+ dependencies = [
383
+ "heck",
384
+ "proc-macro2",
385
+ "pyo3-build-config",
386
+ "quote",
387
+ "syn",
388
+ ]
389
+
390
+ [[package]]
391
+ name = "quote"
392
+ version = "1.0.45"
393
+ source = "registry+https://github.com/rust-lang/crates.io-index"
394
+ checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
395
+ dependencies = [
396
+ "proc-macro2",
397
+ ]
398
+
399
+ [[package]]
400
+ name = "rand"
401
+ version = "0.8.6"
402
+ source = "registry+https://github.com/rust-lang/crates.io-index"
403
+ checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
404
+ dependencies = [
405
+ "libc",
406
+ "rand_chacha",
407
+ "rand_core",
408
+ ]
409
+
410
+ [[package]]
411
+ name = "rand_chacha"
412
+ version = "0.3.1"
413
+ source = "registry+https://github.com/rust-lang/crates.io-index"
414
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
415
+ dependencies = [
416
+ "ppv-lite86",
417
+ "rand_core",
418
+ ]
419
+
420
+ [[package]]
421
+ name = "rand_core"
422
+ version = "0.6.4"
423
+ source = "registry+https://github.com/rust-lang/crates.io-index"
424
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
425
+ dependencies = [
426
+ "getrandom",
427
+ ]
428
+
429
+ [[package]]
430
+ name = "rustversion"
431
+ version = "1.0.22"
432
+ source = "registry+https://github.com/rust-lang/crates.io-index"
433
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
434
+
435
+ [[package]]
436
+ name = "slab"
437
+ version = "0.4.12"
438
+ source = "registry+https://github.com/rust-lang/crates.io-index"
439
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
440
+
441
+ [[package]]
442
+ name = "subtle"
443
+ version = "2.6.1"
444
+ source = "registry+https://github.com/rust-lang/crates.io-index"
445
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
446
+
447
+ [[package]]
448
+ name = "syn"
449
+ version = "2.0.117"
450
+ source = "registry+https://github.com/rust-lang/crates.io-index"
451
+ checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
452
+ dependencies = [
453
+ "proc-macro2",
454
+ "quote",
455
+ "unicode-ident",
456
+ ]
457
+
458
+ [[package]]
459
+ name = "target-lexicon"
460
+ version = "0.13.5"
461
+ source = "registry+https://github.com/rust-lang/crates.io-index"
462
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
463
+
464
+ [[package]]
465
+ name = "thiserror"
466
+ version = "1.0.69"
467
+ source = "registry+https://github.com/rust-lang/crates.io-index"
468
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
469
+ dependencies = [
470
+ "thiserror-impl",
471
+ ]
472
+
473
+ [[package]]
474
+ name = "thiserror-impl"
475
+ version = "1.0.69"
476
+ source = "registry+https://github.com/rust-lang/crates.io-index"
477
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
478
+ dependencies = [
479
+ "proc-macro2",
480
+ "quote",
481
+ "syn",
482
+ ]
483
+
484
+ [[package]]
485
+ name = "typenum"
486
+ version = "1.20.0"
487
+ source = "registry+https://github.com/rust-lang/crates.io-index"
488
+ checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de"
489
+
490
+ [[package]]
491
+ name = "unicode-ident"
492
+ version = "1.0.24"
493
+ source = "registry+https://github.com/rust-lang/crates.io-index"
494
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
495
+
496
+ [[package]]
497
+ name = "universal-hash"
498
+ version = "0.5.1"
499
+ source = "registry+https://github.com/rust-lang/crates.io-index"
500
+ checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
501
+ dependencies = [
502
+ "crypto-common",
503
+ "subtle",
504
+ ]
505
+
506
+ [[package]]
507
+ name = "version_check"
508
+ version = "0.9.5"
509
+ source = "registry+https://github.com/rust-lang/crates.io-index"
510
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
511
+
512
+ [[package]]
513
+ name = "wasi"
514
+ version = "0.11.1+wasi-snapshot-preview1"
515
+ source = "registry+https://github.com/rust-lang/crates.io-index"
516
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
517
+
518
+ [[package]]
519
+ name = "wasm-bindgen"
520
+ version = "0.2.121"
521
+ source = "registry+https://github.com/rust-lang/crates.io-index"
522
+ checksum = "49ace1d07c165b0864824eee619580c4689389afa9dc9ed3a4c75040d82e6790"
523
+ dependencies = [
524
+ "cfg-if",
525
+ "once_cell",
526
+ "rustversion",
527
+ "wasm-bindgen-macro",
528
+ "wasm-bindgen-shared",
529
+ ]
530
+
531
+ [[package]]
532
+ name = "wasm-bindgen-macro"
533
+ version = "0.2.121"
534
+ source = "registry+https://github.com/rust-lang/crates.io-index"
535
+ checksum = "8e68e6f4afd367a562002c05637acb8578ff2dea1943df76afb9e83d177c8578"
536
+ dependencies = [
537
+ "quote",
538
+ "wasm-bindgen-macro-support",
539
+ ]
540
+
541
+ [[package]]
542
+ name = "wasm-bindgen-macro-support"
543
+ version = "0.2.121"
544
+ source = "registry+https://github.com/rust-lang/crates.io-index"
545
+ checksum = "d95a9ec35c64b2a7cb35d3fead40c4238d0940c86d107136999567a4703259f2"
546
+ dependencies = [
547
+ "bumpalo",
548
+ "proc-macro2",
549
+ "quote",
550
+ "syn",
551
+ "wasm-bindgen-shared",
552
+ ]
553
+
554
+ [[package]]
555
+ name = "wasm-bindgen-shared"
556
+ version = "0.2.121"
557
+ source = "registry+https://github.com/rust-lang/crates.io-index"
558
+ checksum = "c4e0100b01e9f0d03189a92b96772a1fb998639d981193d7dbab487302513441"
559
+ dependencies = [
560
+ "unicode-ident",
561
+ ]
562
+
563
+ [[package]]
564
+ name = "zerocopy"
565
+ version = "0.8.48"
566
+ source = "registry+https://github.com/rust-lang/crates.io-index"
567
+ checksum = "eed437bf9d6692032087e337407a86f04cd8d6a16a37199ed57949d415bd68e9"
568
+ dependencies = [
569
+ "zerocopy-derive",
570
+ ]
571
+
572
+ [[package]]
573
+ name = "zerocopy-derive"
574
+ version = "0.8.48"
575
+ source = "registry+https://github.com/rust-lang/crates.io-index"
576
+ checksum = "70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
577
+ dependencies = [
578
+ "proc-macro2",
579
+ "quote",
580
+ "syn",
581
+ ]
582
+
583
+ [[package]]
584
+ name = "zeroize"
585
+ version = "1.8.2"
586
+ source = "registry+https://github.com/rust-lang/crates.io-index"
587
+ checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
588
+ dependencies = [
589
+ "zeroize_derive",
590
+ ]
591
+
592
+ [[package]]
593
+ name = "zeroize_derive"
594
+ version = "1.4.3"
595
+ source = "registry+https://github.com/rust-lang/crates.io-index"
596
+ checksum = "85a5b4158499876c763cb03bc4e49185d3cccbabb15b33c627f7884f43db852e"
597
+ dependencies = [
598
+ "proc-macro2",
599
+ "quote",
600
+ "syn",
601
+ ]
@@ -0,0 +1,40 @@
1
+ [workspace]
2
+ members = ["obcrypt", "obcrypt-py"]
3
+ resolver = "2"
4
+
5
+ # Release / bench profiles at the workspace level so they actually
6
+ # apply (Cargo silently ignores per-package profiles on non-root
7
+ # members). LTO is important for the `oboron` consumer that depends
8
+ # on this crate via path-dep — without it, cross-crate inlining of
9
+ # the AEAD hot path doesn't happen.
10
+ [profile.release]
11
+ opt-level = 3
12
+ lto = true
13
+ codegen-units = 1
14
+
15
+ [profile.bench]
16
+ inherits = "release"
17
+
18
+ [workspace.package]
19
+ version = "0.1.1"
20
+ edition = "2021"
21
+ rust-version = "1.77.0"
22
+ license = "MIT"
23
+ repository = "https://gitlab.com/oboron/obcrypt-rs"
24
+ homepage = "https://oboron.org/"
25
+ documentation = "https://oboron.org/obcrypt"
26
+ authors = ["Bojan Đuričković"]
27
+
28
+ [workspace.dependencies]
29
+ # Sibling crates (path deps for in-workspace builds; consumers outside
30
+ # the workspace use the crates.io version).
31
+ obcrypt = { path = "obcrypt", version = "0.1.1", default-features = false }
32
+
33
+ # Shared third-party deps
34
+ rand = "0.8"
35
+ thiserror = "1.0"
36
+ zeroize = { version = "1", features = ["derive"] }
37
+
38
+ # `hex` is the canonical text encoding for obcrypt keys.
39
+ hex = "0.4"
40
+ pyo3 = { version = "0.28", features = ["extension-module", "abi3-py38"] }
obcrypt-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,55 @@
1
+ Metadata-Version: 2.4
2
+ Name: obcrypt
3
+ Version: 0.0.1
4
+ Classifier: Development Status :: 3 - Alpha
5
+ Classifier: Intended Audience :: Developers
6
+ Classifier: License :: OSI Approved :: MIT License
7
+ Classifier: Operating System :: OS Independent
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.8
10
+ Classifier: Programming Language :: Python :: 3.9
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Programming Language :: Rust
17
+ Classifier: Programming Language :: Python :: Implementation :: CPython
18
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
19
+ Classifier: Topic :: Security :: Cryptography
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Classifier: Typing :: Typed
22
+ License-File: LICENSE
23
+ Summary: Python bindings for obcrypt — bytes-in/bytes-out symmetric encryption (oboron protocol, a-tier + u-tier).
24
+ Keywords: python,encryption,cryptography,oboron
25
+ Home-Page: https://oboron.org/
26
+ Author: Bojan Đuričković
27
+ License: MIT
28
+ Requires-Python: >=3.8
29
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
30
+ Project-URL: Documentation, https://oboron.org/obcrypt
31
+ Project-URL: Homepage, https://oboron.org/
32
+ Project-URL: Repository, https://gitlab.com/oboron/obcrypt-rs
33
+
34
+ # obcrypt-py
35
+
36
+ Python bindings for [`obcrypt`](../obcrypt) — the bytes-in /
37
+ bytes-out cryptographic core of the
38
+ [oboron](https://oboron.org/) protocol.
39
+
40
+ **Status: scaffold.** Only the package skeleton is in place; the
41
+ binding surface (PyO3 classes, methods, exception types) is being
42
+ built incrementally.
43
+
44
+ ## Build (development)
45
+
46
+ ```bash
47
+ pip install maturin
48
+ cd obcrypt-py
49
+ maturin develop --release
50
+ ```
51
+
52
+ ## License
53
+
54
+ MIT — see [LICENSE](LICENSE).
55
+