Qabel / qabel.github.io

:octocat: The Qabel documentation repository. The technical stuff can be found at our github.io page.
https://qabel.github.io
Other
2 stars 10 forks source link

Define type formats #138

Closed roeslpa closed 8 years ago

roeslpa commented 8 years ago

Define format of keys for exporting/uploading... @jmt85 @L-Henke

roeslpa commented 8 years ago

Just to start the discussion: any other thoughts?

Data type Definition
Int 32-bit signed two's complement integer
Long 64-bit signed two's complement integer
String UTF-8 encoded
Keyformat Base46-RFC 4648 encoded UTF-8 String
audax commented 8 years ago
Data type Definition
Int 32-bit signed two's complement integer
Long 64-bit signed two's complement integer
String UTF-8 encoded and (if applicable) null terminated
Keyformat Hex-String with ASCII encoding. Every byte of data is converted into the corresponding 2-digit hex representation. The returned bytes object is therefore twice as long as the length of data.