Composer package #476

Closed
opened 2020-11-20 06:51:34 -06:00 by 0xVavaldi · 4 comments
0xVavaldi commented 2020-11-20 06:51:34 -06:00 (Migrated from github.com)

Having it be usable as a composer package would make integration in web projects significantly easier

Having it be usable as a composer package would make integration in web projects significantly easier
exussum12 commented 2020-11-24 04:22:35 -06:00 (Migrated from github.com)

https://github.com/exussum12/xxhash can be installed via composer

composer require exussum12/xxhash

It should solve some needs, add an issue if there is something else needed (Ive seen one added for 128 bit, I can add that in)

https://github.com/exussum12/xxhash can be installed via composer ```composer require exussum12/xxhash``` It should solve some needs, add an issue if there is something else needed (Ive seen one added for 128 bit, I can add that in)
0xVavaldi commented 2020-11-24 05:41:02 -06:00 (Migrated from github.com)

I'm the one that added the 128bit issue for the linked repo

I'm the one that added the 128bit issue for the linked repo
exussum12 commented 2020-11-24 12:22:09 -06:00 (Migrated from github.com)

@Cyan4973 is there a document like https://github.com/Cyan4973/xxHash/blob/dev/doc/xxhash_spec.md for xxh128 ?

Specifically im looking for what do with with the high and low bits to convert to a hash - similar to https://github.com/Cyan4973/xxHash/blob/dev/doc/xxhash_spec.md#step-7-output-1

@Cyan4973 is there a document like https://github.com/Cyan4973/xxHash/blob/dev/doc/xxhash_spec.md for xxh128 ? Specifically im looking for what do with with the high and low bits to convert to a hash - similar to https://github.com/Cyan4973/xxHash/blob/dev/doc/xxhash_spec.md#step-7-output-1
Cyan4973 commented 2020-11-24 12:45:31 -06:00 (Migrated from github.com)

There is currently no specs document for XXH3. This will come at a later stage (circa ~v1.0).

Specifically im looking for what do with with the high and low bits to convert to a hash

This is achieved by XXH128_canonicalFromHash() :
https://github.com/Cyan4973/xxHash/blob/dev/xxhash.h#L838

There is currently no specs document for `XXH3`. This will come at a later stage (circa ~v1.0). > Specifically im looking for what do with with the high and low bits to convert to a hash This is achieved by `XXH128_canonicalFromHash()` : https://github.com/Cyan4973/xxHash/blob/dev/xxhash.h#L838
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Cyan4973/xxHash#476
No description provided.