We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 180f52b + f28eeb2 commit 3c3bc43Copy full SHA for 3c3bc43
README.md
@@ -2,9 +2,33 @@
2
3
Python library to convert Windows SIDs
4
5
-## TODO
+## Example
6
7
-* Documentation in README.md
+String input
8
+```python
9
+import sid
10
+
11
+mysid = sid.sid('S-1-5-21-2127521184-1604012920-1887927527-72713')
12
+print mysid.base64()
13
+```
14
15
+Output
16
17
+AQUAAAAAAAUVAAAAoGXPfnhLm1/nfIdwCRwBAA==
18
19
20
+Base46 input
21
22
23
24
+mysid = sid.sid('AQUAAAAAAAUVAAAAoGXPfnhLm1/nfIdwCRwBAA==', sid.SID_BASE64)
25
+print mysid
26
27
28
29
30
+S-1-5-21-2127521184-1604012920-1887927527-72713
31
32
33
## Changelog
34
* 0.1
0 commit comments