crypto

package module
v0.0.0-...-400040c Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 7 Imported by: 1

README

crypto


Copyright (c) 2024 Archivage Numérique

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypto

type Crypto struct {
	// contains filtered or unexported fields
}

func New

func New() *Crypto

func (*Crypto) Decrypt

func (c *Crypto) Decrypt(data []byte) ([]byte, error)

func (*Crypto) DecryptString

func (c *Crypto) DecryptString(s string) (string, error)

func (*Crypto) Encrypt

func (c *Crypto) Encrypt(data []byte) ([]byte, error)

func (*Crypto) EncryptString

func (c *Crypto) EncryptString(s string) (string, error)

func (*Crypto) SetKey

func (c *Crypto) SetKey(key string) error

Jump to

Keyboard shortcuts

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