Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPinLength = errors.New("libiso: Invalid PIN length (cannot exceed 12)")
Functions ¶
func DecryptPinBlock ¶
DecryptPinBlock decrypts a new PIN block
Types ¶
type PinBlocker ¶
type PinBlocker interface { Encrypt(pan string, clearPin string, key []byte) ([]byte, error) GetPin(pan string, pinBlockData []byte, key []byte) (string, error) }
PinBlocker represents a interface for types that can decrypt or encrypt a PIN block
Click to show internal directories.
Click to hide internal directories.