frostfs-sdk-go/object
Leonard Lyubich e2011832eb slicer: Allow to toggle homomorphic hashing
Homomorphic hashing of object payload is not always necessary. There is
a need to provide ability to skip calculation. It's also worth to not
calculate it by default since current implementation of Tillich-Zemor
algorithm has large resource cost.

Do not calculate homomorphic checksum in `Slicer` methods by default.
Provide option to enable the calculation. Make tests to randomize
calculation flag and assert results according to it.

Refs #342.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
2023-04-26 21:40:01 +04:00
..
id :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
relations [#308] object/relations: List relations in split order 2022-11-17 16:31:26 +03:00
slicer slicer: Allow to toggle homomorphic hashing 2023-04-26 21:40:01 +04:00
test tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
attribute.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
attribute_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
error.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
error_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
fmt.go :* Replace ecdsa.PrivateKey with neofscrypto.Signer 2023-04-26 14:59:21 +04:00
fmt_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
lock.go [#257] Upgrade NeoFS API Go module 2022-05-31 09:47:55 +03:00
lock_test.go [#163] object: Implement functions linking Object and Lock instances 2022-03-05 17:38:16 +03:00
object.go Initial commit of static object slicer 2023-04-26 21:38:05 +04:00
object_test.go tests: Use dedicated function to generate signers in tests 2023-04-26 15:03:55 +04:00
range.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
range_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
search.go enums: Remove FromString method of enumerations 2023-04-19 14:33:35 +04:00
search_test.go enums: Remove FromString method of enumerations 2023-04-19 14:33:35 +04:00
splitid.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
splitid_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
splitinfo.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
splitinfo_test.go [#242] object: Require only 1 field to be set for SplitInfo 2022-05-23 19:09:53 +03:00
tombstone.go [#370] bearer, session: Clarify expiration epoch 2022-12-29 13:28:11 +03:00
tombstone_test.go [#170] oid, cid: Refactor and document package functionality 2022-04-13 17:32:25 +03:00
type.go enums: Remove FromString method of enumerations 2023-04-19 14:33:35 +04:00
type_test.go enums: Remove FromString method of enumerations 2023-04-19 14:33:35 +04:00
wellknown_attributes.go [#215] object: Add well-known FilePath attribute 2022-09-06 17:21:37 +04:00