Documentation ¶
Overview ¶
nolint
Index ¶
- type SM4Key
- func (s SM4Key) Bytes() ([]byte, error)
- func (s SM4Key) Decrypt(ciphertext []byte) ([]byte, error)
- func (s SM4Key) DecryptWithOpts(ciphertext []byte, opts *crypto.EncOpts) ([]byte, error)
- func (s SM4Key) Encrypt(plain []byte) ([]byte, error)
- func (s SM4Key) EncryptWithOpts(plain []byte, opts *crypto.EncOpts) ([]byte, error)
- func (s SM4Key) String() (string, error)
- func (s SM4Key) Type() crypto.KeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.