Categorygithub.com/facily-tech/go-core/cryptography
modulepackage
0.1.0
Repository: https://github.com/facily-tech/go-core.git
Documentation: pkg.go.dev

# README

Cryptography

Cryptography is a symmetric key cryptography library. This type of encryption uses the same key to encrypt and also to decrypt messages.

To create a new encryption it is necessary to pass the key and the unique number (nonce) as a parameter.

key required 16 digits,

nonce required 12 digits.

Installation

go get github.com/facily-tech/go-core/cryptography

# Functions

NewCryptography returns a new Cryptography struct.
NewMockICryptography creates a new mock instance.

# Structs

Cryptography struct.
MockICryptography is a mock of ICryptography interface.
MockICryptographyMockRecorder is the mock recorder for MockICryptography.

# Interfaces

ICryptography is Cryptography interface to use when you wanna make a default setup on its methods.