Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RandomBytes ¶
RandomBytes create n bytes using crypto/rand
Types ¶
type AesGcmCypher ¶
type AesGcmCypher struct {
// contains filtered or unexported fields
}
AesGcmCypher implements the AES GCM
func NewAesGcmCypher ¶
func NewAesGcmCypher(key string) (*AesGcmCypher, error)
NewAesGcmCypher creates the intance of AesGcmCypher
Click to show internal directories.
Click to hide internal directories.