libCrypto

package
v0.12.9 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Cvv1    = "Cvv1"
	Cvv2    = "Cvv2"
	Encrypt = "E"
	Decrypt = "D"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Sm

type Sm interface {
	SetKey(id, value string)
	GetKey(id string) string
	Cvv(pan, exp, cvvType string) (string, response.ErrorState)
	Pvv(pan, pinBlock string) (string, response.ErrorState)
	Offset(pan, pinBlock string) (string, response.ErrorState)
	Mac(data string) (string, response.ErrorState)
	Translate(pan, pinBlock, tpk2nd string) (string, response.ErrorState)
	Crypt(data, mode string) (string, response.ErrorState)
}

Jump to

Keyboard shortcuts

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