crypto

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package crypto reads and decrypts encrypted scratchpad files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptFile

func DecryptFile(key []byte, baseDir, filename string) ([]string, error)

DecryptFile reads and decrypts a single file, returning its entries.

Parameters:

  • key: AES-256 encryption key
  • baseDir: Directory containing the encrypted file
  • filename: Name of the encrypted file

Returns:

  • []string: Decrypted entries
  • error: Non-nil on read or decryption failure

Types

This section is empty.

Jump to

Keyboard shortcuts

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