package
0.0.0-20180830032904-3da98e966145
Repository: https://github.com/traceabilitychain/tac.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AESCBCPKCS7Decrypt combines CBC decryption and PKCS7 unpadding.
AESCBCPKCS7Encrypt combines CBC encryption and PKCS7 padding.
GetRandomBytes returns len random looking bytes.
IsLow checks that s is a low-S.
No description provided by the author
New returns a new instance of the software-based BCCSP set at the passed security level, hash family and KeyStore.
NewDefaultSecurityLevel returns a new instance of the software-based BCCSP at security level 256, hash family SHA2 and using FolderBasedKeyStore as KeyStore.
NewDefaultSecurityLevel returns a new instance of the software-based BCCSP at security level 256, hash family SHA2 and using the passed KeyStore.
NewDummyKeyStore instantiate a dummy key store that neither loads nor stores keys.
NewFileBasedKeyStore instantiated a file-based key store at a given position.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
# Interfaces
Decryptor is a BCCSP-like interface that provides decryption algorithms.
Encryptor is a BCCSP-like interface that provides encryption algorithms.
Hasher is a BCCSP-like interface that provides hash algorithms.
KeyDeriver is a BCCSP-like interface that provides key derivation algorithms.
KeyGenerator is a BCCSP-like interface that provides key generation algorithms.
KeyImporter is a BCCSP-like interface that provides key import algorithms.
Signer is a BCCSP-like interface that provides signing algorithms.
Verifier is a BCCSP-like interface that provides verifying algorithms.