Documentation ¶
Index ¶
- type SM4Key
- func (sm4Key *SM4Key) Bytes() ([]byte, error)
- func (sm4Key *SM4Key) Decrypt(crypted []byte) ([]byte, error)
- func (sm4Key *SM4Key) DecryptWithOpts(crypted []byte, opts *crypto.EncOpts) ([]byte, error)
- func (sm4Key *SM4Key) Encrypt(plain []byte) ([]byte, error)
- func (sm4Key *SM4Key) EncryptWithOpts(plain []byte, opts *crypto.EncOpts) ([]byte, error)
- func (sm4Key *SM4Key) String() (string, error)
- func (sm4Key *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.