Versions in this module Expand all Collapse all v1 v1.0.0 Feb 11, 2020 Changes in this version + type HSM struct + KMS *kms.KMS + KeyName string + func NewHSM(cli *kms.KMS, keyName string) *HSM + func (h *HSM) Decrypt(cipherByte []byte) (plainText string, err error) + func (h *HSM) Encrypt(plainText string) (cipherText string, err error)