[Cryptography-dev] cshake code
Robert Moskowitz
rgm at htt-consult.com
Fri Aug 30 14:31:24 EDT 2024
See rfc9374 for Drone Remote ID Protocol (DRIP) Entity Tag.
I use cShake there.
I also use KMAC elsewhere in my work.
I will figure out accessing your issue tracking and file it.
On 8/30/24 08:35, Paul Kehrer wrote:
> OpenSSL doesn’t have a cSHAKE API and this project hasn’t exposed OpenSSL’s keccak directly. We could do so, which would enable cSHAKE, but this is the first request we’ve seen. Feel free to file an issue requesting it!
>
> -Paul
>
>> On Aug 30, 2024, at 3:46 AM, Robert Moskowitz <rgm at htt-consult.com> wrote:
>>
>> Does cryptography.hazmat.primitives include cshake code?
>>
>> So far the only source I have found is:
>>
>> https://pycryptodome.readthedocs.io/en/v3.15.0/src/introduction.html
>>
>> from Cryptodome.Hash import cSHAKE128
>> # print(type(h_orchid_left))
>> # print(type(hi), hi)
>>
>> shake = cSHAKE128.new(custom = ContextID)
>> shake.update((h_orchid_left + hi))
>> h_hash = shake.read(8).hex()
>>
>> Would like to get all my crypto from one source.
>>
>> Of course, I got this a year ago, and cryptodome may have newer code.
>> _______________________________________________
>> Cryptography-dev mailing list
>> Cryptography-dev at python.org
>> https://mail.python.org/mailman/listinfo/cryptography-dev
> _______________________________________________
> Cryptography-dev mailing list
> Cryptography-dev at python.org
> https://mail.python.org/mailman/listinfo/cryptography-dev
More information about the Cryptography-dev
mailing list