Unambiguously descriptive protocol encoding #171
Replies: 2 comments 1 reply
-
Not sure what you mean, SHA256 is a hash algorithm, AES is a symmetric encryption algorithm currently used, and encoding (unified into codec in cyfs-base) has no effect with these two methods Now cyfs-base uses custom RawCodec byte-based encoding, and HashMap has stable encoding and decoding implementations, and currently ts (js) also has corresponding implementations, and there is no problem with cross-language |
Beta Was this translation helpful? Give feedback.
-
About The Hash Algorithm, currently, the default hash algorithm used in the cyfs-stack is SHA256, which is implicitly set and does not support compatibility with multiple hash algorithms:
This issue is indeed a headache, and there is no good solution for it yet. If you have any suggestions, please feel free to share them. |
Beta Was this translation helpful? Give feedback.
-
I think we need a clear encoding format that does not depend on third-party libraries or the program language.
We can use the
SHA256
,AES
etc.But the
HashMap
or others should be discarded, Is there a rule to ensure that all encoding formats are the same between different language or version?Beta Was this translation helpful? Give feedback.
All reactions