package
Version:
v0.5.2
Opens a new window with list of versions in this module.
Published: Apr 30, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package factory is used to create Crpt instances from options.
func MustNew(keyType crpt.KeyType, hashFunc crypto.Hash) crpt.Crpt
MustNew creates a Crpt instance with the specified algorithm and hashFunc,
it panics if an error occurs.
New creates a Crpt instance with the specified KeyType and hashFunc.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.