Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUID test data ? #41

Open
Annakan opened this issue Apr 6, 2019 · 0 comments
Open

GUID test data ? #41

Annakan opened this issue Apr 6, 2019 · 0 comments

Comments

@Annakan
Copy link

Annakan commented Apr 6, 2019

Hello
I am trying to implement / explore ron concepts in python.
I am trying first to properly decipher UUIDs and then atoms and frames .

There seem to be very little complete real examples of UUIDs beside a few ones in the doc that are useful but not practical and the two in uuid_test ( "1": NewRonUUID(UUID_NAME, UUID_NAME_TRANSCENDENT, 1<<54, 0), "1/978$1400075997": NewRonUUID(UUID_NAME, UUID_NAME_ISBN, 164135095794401280, 19140298535113287),

(I say not practical because in "1cDKT+joe" the "joe" value is chosen to be human readable in the doc and happens to be valid as a "ron special alphabet base64"encoded, but can't be really used for testing since if this is the encoded uuid it means the decoded "joe" value is some other sequence of bytes.)

Would someone be nice enough to generate one or two dozens UUIDs of the 4 kinds with their human and binary layouts ?

That would be very useful to make sure the encoding / decoding algorithm is properly implemented something like

Name : "mouse$joe" => 1110111011 ... 1111 => hex(AF9DEF)
number : A/k3R9w_2F8w%Le~6dDScsw =>

Maybe I missed a place where genuine ron formatted uuid are exposed and decoded ? (I have found the "swarm" page here https:/gritzko/swarm-ron-docs/blob/master/test/peer-basic.batt and also https:/gritzko/swarm-ron-docs/tree/2 and a few others)

Thanks a lot for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant