simple_crypter

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 5 Imported by: 0

README

Simple Crypter

It's a simple crypter for encrypting/decrypting plaintext with a secret.

Go License

License

Simple Crypter Copyright (C) 2022 ThomasBoom89. MIT license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypter

type Crypter struct {
}

func New

func New() *Crypter

func (*Crypter) Decrypt

func (C *Crypter) Decrypt(secret string, text []byte) (string, error)

func (*Crypter) Encrypt

func (C *Crypter) Encrypt(secret, text string) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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