Documentation
¶
Index ¶
- func HashSafeForSignature(hashAlg string) error
- func NewAEADGCMKeyFactory(idService services.IDService, randomService services.CPRNGService) types.KeyFactory
- func NewRSASSAPKCS1SHAKeyFactory(randomService services.CPRNGService) types.WrappingKeyFactory
- func NewXChaCha20Poly1305KeyFactory(idService services.IDService, randomService services.CPRNGService) types.KeyFactory
- func RSAHashFunc(hashAlg string) (func() hash.Hash, crypto.Hash, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashSafeForSignature ¶
HashSafeForSignature checks whether a hash function is safe to use with digital signatures that require collision resistance.
func NewAEADGCMKeyFactory ¶
func NewAEADGCMKeyFactory(idService services.IDService, randomService services.CPRNGService) types.KeyFactory
func NewRSASSAPKCS1SHAKeyFactory ¶
func NewRSASSAPKCS1SHAKeyFactory(randomService services.CPRNGService) types.WrappingKeyFactory
func NewXChaCha20Poly1305KeyFactory ¶
func NewXChaCha20Poly1305KeyFactory(idService services.IDService, randomService services.CPRNGService) types.KeyFactory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.