sym

package
v2.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSymKey

func GenerateSymKey(keyType crypto.KeyType, key []byte) (crypto.SymmetricKey, error)

GenerateSymKey returns a crypto.SymmetricKey of keyType with bytes-key input

func GenerateSymKeyStr

func GenerateSymKeyStr(keyType crypto.KeyType, keyHex string) (crypto.SymmetricKey, error)

GenerateSymKeyStr return a crypto.SymmetricKey of keyType with string-key input

Types

This section is empty.

Directories

Path Synopsis
nolint
nolint
nolint
nolint
nolint
nolint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL