Module g4ds.tools
Commonly used functions for G4DS
Grid for Digital Security (G4DS)
Author: Michael Pilgermann
Contact: mailto:mpilgerm@glam.ac.uk
License: GPL (General Public License)
Function Summary |
|
generateId (type)
Generate a unique ID |
generateId(type='C')
Generate a unique ID
-
To Do: Implement unique properly - currently just a random mumber between 0
and 1000000
|
TYPE_ALGORITHM
-
- Type:
-
str
- Value:
|
TYPE_COMMUNITY
-
- Type:
-
str
- Value:
|
TYPE_CREDENTIAL
-
- Type:
-
str
- Value:
|
TYPE_ENDPOINT
-
- Type:
-
str
- Value:
|
TYPE_MEMBER
-
- Type:
-
str
- Value:
|
TYPE_MESSAGE
-
- Type:
-
str
- Value:
|
TYPE_PERSONALCREDENTIAL
-
- Type:
-
str
- Value:
|
TYPE_PROTOCOL
-
- Type:
-
str
- Value:
|
TYPE_ROUTINGTABLEENTRY
-
- Type:
-
str
- Value:
|
TYPE_SERVICE
-
- Type:
-
str
- Value:
|