Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPRNGService ¶
type CPRNGService interface { GetRandomBytes(n uint32) []byte GetRandomUint32() uint32 GetRandomReader() io.Reader }
func NewCPRNGService ¶
func NewCPRNGService() CPRNGService
type IDService ¶
func NewIDGenerationService ¶
func NewIDGenerationService(randomService CPRNGService) IDService
Click to show internal directories.
Click to hide internal directories.