encoder

package
v0.0.0-...-219b6e5 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package encoder provides encryption and decryption utilities using AES-CFB. It handles secure password storage and retrieval for the password manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(key, text []byte) ([]byte, error)

Decrypt takes a key and ciphertext, returns the decrypted plaintext Uses AES-CFB mode and extracts IV from ciphertext

func Encrypt

func Encrypt(key, text []byte) ([]byte, error)

Encrypt takes a key and plaintext, returns the encrypted ciphertext Uses AES-CFB mode with a random IV for encryption

Types

This section is empty.

Jump to

Keyboard shortcuts

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