package
0.4.0-rc0
Repository: https://github.com/swayedev/way.git
Documentation: pkg.go.dev

# Functions

Decrypt decrypts the given encrypted string using the provided passphrase.
Encrypt encrypts the given data using the provided passphrase.
GenerateRandomKey generates a random key of the specified length.
HashByte calculates the SHA3-256 hash of the given byte slice.
HashString calculates the SHA3-256 hash of the input string.
HashStringToString takes a string as input and returns its SHA3-256 hash as a hexadecimal string.

# Interfaces

Crypto is an interface that defines cryptographic operations.