package
Version:
v0.0.0-...-8ba21cc
Opens a new window with list of versions in this module.
Published: Dec 18, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Decrypt decrypts ciphertext to plaintext.
Encrypt encrypts plaintext to ciphertext.
func InitCipher(key []byte)
InitCipher initializes the defaultCipher.
func IsInitialized() bool
IsInitialized returns whether the defaultCipher is initialized or not.
Cipher is the interface for encrypt/decrypt.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.